[PATCH 06/18] site: Remove some spurious "break"s

Ian Jackson ijackson at chiark.greenend.org.uk
Wed Aug 17 23:54:24 BST 2011


Remove two occurrences of "break" which immediately follow
unconditional "return".  No functional change.

Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
---
 site.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/site.c b/site.c
index a7775bd..34805f6 100644
--- a/site.c
+++ b/site.c
@@ -653,12 +653,10 @@ static bool_t process_msg0(struct site *st, struct buffer_if *msg0,
 	/* We must forget about the current session. */
 	delete_key(st,"request from peer",LOG_SEC);
 	return True;
-	break;
     case LABEL_MSG9:
 	/* Deliver to netlink layer */
 	st->netlink->deliver(st->netlink->st,msg0);
 	return True;
-	break;
     default:
 	slog(st,LOG_SEC,"incoming encrypted message of type %08x "
 	     "(unknown)",type);
-- 
1.7.2.5




More information about the sgo-software-discuss mailing list