]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Fix extra semicolon after if 11859/head
authorWeiguo Li <liwg06@foxmail.com>
Thu, 25 Aug 2022 09:51:46 +0000 (17:51 +0800)
committerWeiguo Li <liwg06@foxmail.com>
Thu, 25 Aug 2022 09:52:21 +0000 (17:52 +0800)
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
lib/sigevent.c

index 0f20bc02705423ff4f98de8395b08b714a48e0d8..985bedeb925e3133edacf2155c3a9e4e9871e18b 100644 (file)
@@ -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;