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

Jenkins2 asteriskteam at digium.com
Fri Nov 10 07:29:23 CST 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7171 )

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
  Jenkins2: 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/7171
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
Gerrit-Change-Number: 7171
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/29dcf3f8/attachment.html>


More information about the asterisk-code-review mailing list