Browse Source

proto-shell.c: add a explicit "fall through" comment to make the compiler happy

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
Alexander Couzens 5 years ago
parent
commit
b06b01178e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      proto-shell.c

+ 2 - 1
proto-shell.c

@@ -212,7 +212,8 @@ proto_shell_handler(struct interface_proto_state *proto,
 				state->sm = S_SETUP_ABORT;
 				return 0;
 			}
-		/* fall through if no script task is running */
+		/* if no script task is running */
+		/* fall through */
 		case S_IDLE:
 			action = "teardown";
 			state->renew_pending = false;