summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2015-12-31 17:33:36 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commit7f38caefd05a152772ea9d4e3437409a7ecf433b (patch)
treefa03f5fe276d7f22956b808b82e6c43b97bcb03e
parent937594c130336cf217411e684478780612196f0b (diff)
remove unreachable code
-rw-r--r--cli-chansession.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index 5e00149..f555a6e 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -438,7 +438,6 @@ do_escape(unsigned char c) {
case '.':
dropbear_exit("Terminated");
return 1;
- break;
case 0x1a:
/* ctrl-z */
cli_tty_cleanup();
@@ -447,7 +446,6 @@ do_escape(unsigned char c) {
cli_tty_setup();
cli_ses.winchange = 1;
return 1;
- break;
}
return 0;
}