From: Corey Farrell Date: Fri, 10 Nov 2017 02:34:32 +0000 (-0500) Subject: core: Remove disabled code. X-Git-Tag: 13.19.0-rc1~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=211f5d8dd49f507fde23595dee0524b74e12b7b7;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 0818cfbc37..8cbbe93182 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -2586,16 +2586,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) {