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

Joshua Colp asteriskteam at digium.com
Fri Nov 10 08:00:32 CST 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/7170 )

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(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/main/asterisk.c b/main/asterisk.c
index d555949..40986a4 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2466,16 +2466,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/7170
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
Gerrit-Change-Number: 7170
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171110/fd68cc3c/attachment.html>


More information about the asterisk-code-review mailing list