diff options
author | Corey Farrell <git@cfware.com> | 2017-11-09 21:34:32 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-11-09 21:34:32 -0500 |
commit | bb77666620c451e0a2875408cf2f4ef768492ca3 (patch) | |
tree | 3969e24faf8a0a11b30618e3e7e4e3d4811255ce | |
parent | 15d3c5f316355fcd05059a8471800625549422eb (diff) |
core: Remove disabled code.
handle_quit has been disabled since 2003, remove it.
Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
-rw-r--r-- | main/asterisk.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index d55594983..40986a484 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) { |