changeset 1267:1f9858bfe03e

put default in switch/case
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 31 Dec 2015 18:02:21 +0100
parents 7373b304868d
children 968be6f7cff6
files cli-chansession.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-chansession.c	Thu Dec 31 17:33:36 2015 +0100
+++ b/cli-chansession.c	Thu Dec 31 18:02:21 2015 +0100
@@ -446,8 +446,9 @@
 			cli_tty_setup();
 			cli_ses.winchange = 1;
 			return 1;
+		default:
+			return 0;
 	}
-	return 0;
 }
 
 static