summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2015-12-31 18:02:21 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commitda85400e57f2d1af6506fcd263941cd9a1ae3163 (patch)
tree610f78419b5a537ab9d9a6785213f72d7b5411c0 /cli-chansession.c
parent7f38caefd05a152772ea9d4e3437409a7ecf433b (diff)
put default in switch/case
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index f555a6e..cd53e85 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -446,8 +446,9 @@ do_escape(unsigned char c) {
cli_tty_setup();
cli_ses.winchange = 1;
return 1;
+ default:
+ return 0;
}
- return 0;
}
static