mirror of
https://github.com/clearml/dropbear
synced 2025-04-22 07:05:13 +00:00
remove unreachable code
This commit is contained in:
parent
937594c130
commit
7f38caefd0
@ -438,7 +438,6 @@ do_escape(unsigned char c) {
|
|||||||
case '.':
|
case '.':
|
||||||
dropbear_exit("Terminated");
|
dropbear_exit("Terminated");
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
|
||||||
case 0x1a:
|
case 0x1a:
|
||||||
/* ctrl-z */
|
/* ctrl-z */
|
||||||
cli_tty_cleanup();
|
cli_tty_cleanup();
|
||||||
@ -447,7 +446,6 @@ do_escape(unsigned char c) {
|
|||||||
cli_tty_setup();
|
cli_tty_setup();
|
||||||
cli_ses.winchange = 1;
|
cli_ses.winchange = 1;
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user