[PATCH 1/3] Solve few fall-trough warnings

Ľubomír Carik lubomir.carik at gmail.com
Wed Feb 21 15:12:52 PST 2018


Signed-off-by: Ľubomír Carik <Lubomir.Carik at gmail.com>
---
 main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index 935147f..86ba8cb 100644
--- a/main.c
+++ b/main.c
@@ -610,6 +610,7 @@ static void print_build_opts(void)
 	case 2:
 		printf("%sHOTP software token", sep);
 		sep = comma;
+		break;
 	case 1:
 		printf("%sTOTP software token", sep);
 		sep = comma;
@@ -1294,6 +1295,7 @@ int main(int argc, char **argv)
 			break;
 		case 'h':
 			usage();
+			break;
 		case 'i':
 			vpninfo->ifname = dup_config_arg();
 			break;
-- 
2.16.2




More information about the openconnect-devel mailing list