diff cli-chansession.c @ 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 9169e4e7cbee
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