# HG changeset patch
# User Francois Perrad <francois.perrad@gadz.org>
# Date 1451581341 -3600
# Node ID 1f9858bfe03e3a917aa3947f0fe01843d5051484
# Parent  7373b304868dfda4735eaddaf3d9fb4267934e05
put default in switch/case

diff -r 7373b304868d -r 1f9858bfe03e cli-chansession.c
--- 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