summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeiguo Li <liwg06@foxmail.com>2022-08-25 11:51:46 +0200
committerWeiguo Li <liwg06@foxmail.com>2022-08-25 11:52:21 +0200
commit51a68f9b3e002184b6202567c01bd521b609da1c (patch)
tree85e5fd13cd5e76109f2cfd0f947d9e8abd5030a2
parentMerge pull request #11829 from donaldsharp/time_32_bits (diff)
downloadfrr-51a68f9b3e002184b6202567c01bd521b609da1c.tar.xz
frr-51a68f9b3e002184b6202567c01bd521b609da1c.zip
lib: Fix extra semicolon after if
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
-rw-r--r--lib/sigevent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index 0f20bc027..985bedeb9 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -134,8 +134,7 @@ int frr_sigevent_process(void)
#ifdef SIGEVENT_BLOCK_SIGNALS
if (sigprocmask(SIG_UNBLOCK, &oldmask, NULL) < 0)
- ;
- return -1;
+ return -1;
#endif /* SIGEVENT_BLOCK_SIGNALS */
return 0;