Add simple "Fall through" comment to the announce_timer function switch
authorRafał Miłecki <rafal@milecki.pl>
Wed, 8 Feb 2017 14:20:42 +0000 (15:20 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 8 Feb 2017 15:32:54 +0000 (16:32 +0100)
It's a common practice to add such comments to make it clear break
instruction was skipped on purpose.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
announce.c

index d1aca5bd661a34d6a1881bbad561d958ca21b78a..03c7b8f33543ed203c138235c615b9821f5d967e 100644 (file)
@@ -62,6 +62,7 @@ announce_timer(struct uloop_timeout *timeout)
                                return;
                        }
                        iface->announce_state++;
+                       /* Fall through */
 
                case STATE_ANNOUNCE:
                        service_announce(iface, announce_ttl);