[Asterisk-code-review] core: Remove disabled code. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Thu Nov 9 20:38:11 CST 2017


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7172


Change subject: core: Remove disabled code.
......................................................................

core: Remove disabled code.

handle_quit has been disabled since 2003, remove it.

Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
---
M main/asterisk.c
1 file changed, 0 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/7172/1

diff --git a/main/asterisk.c b/main/asterisk.c
index 0818cfb..8cbbe93 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2586,16 +2586,6 @@
 	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) {

-- 
To view, visit https://gerrit.asterisk.org/7172
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
Gerrit-Change-Number: 7172
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171109/271593ee/attachment.html>


More information about the asterisk-code-review mailing list