projects
/
project
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbaf3c
)
Add simple "Fall through" comment to the announce_timer function switch
author
Rafał Miłecki
<rafal@milecki.pl>
Wed, 8 Feb 2017 14:20:42 +0000
(15:20 +0100)
committer
Rafał 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
patch
|
blob
|
history
diff --git
a/announce.c
b/announce.c
index d1aca5bd661a34d6a1881bbad561d958ca21b78a..03c7b8f33543ed203c138235c615b9821f5d967e 100644
(file)
--- a/
announce.c
+++ b/
announce.c
@@
-62,6
+62,7
@@
announce_timer(struct uloop_timeout *timeout)
return;
}
iface->announce_state++;
+ /* Fall through */
case STATE_ANNOUNCE:
service_announce(iface, announce_ttl);