From: Corey Farrell Date: Fri, 10 Nov 2017 02:34:32 +0000 (-0500) Subject: core: Remove disabled code. X-Git-Tag: 16.0.0-rc1~646^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb77666620c451e0a2875408cf2f4ef768492ca3;p=thirdparty%2Fasterisk.git core: Remove disabled code. handle_quit has been disabled since 2003, remove it. Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18 --- diff --git a/main/asterisk.c b/main/asterisk.c index d555949839..40986a484b 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -2466,16 +2466,6 @@ static char *handle_version(struct ast_cli_entry *e, int cmd, struct ast_cli_arg return CLI_SUCCESS; } -#if 0 -static int handle_quit(int fd, int argc, char *argv[]) -{ - if (argc != 1) - return RESULT_SHOWUSAGE; - quit_handler(0, SHUTDOWN_NORMAL, 0); - return RESULT_SUCCESS; -} -#endif - static char *handle_stop_now(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { switch (cmd) {