[asterisk-commits] rmudgett: branch rmudgett/external_mwi r404402 - /team/rmudgett/external_mwi/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 19 22:34:03 CST 2013


Author: rmudgett
Date: Thu Dec 19 22:34:00 2013
New Revision: 404402

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404402
Log:
Fix compile error when MWI_DEBUG_CLI not defined.

Modified:
    team/rmudgett/external_mwi/res/res_mwi_external.c

Modified: team/rmudgett/external_mwi/res/res_mwi_external.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/external_mwi/res/res_mwi_external.c?view=diff&rev=404402&r1=404401&r2=404402
==============================================================================
--- team/rmudgett/external_mwi/res/res_mwi_external.c (original)
+++ team/rmudgett/external_mwi/res/res_mwi_external.c Thu Dec 19 22:34:00 2013
@@ -550,6 +550,7 @@
 	.messagecount = mwi_messagecount,
 };
 
+#if defined(MWI_DEBUG_CLI)
 static char *complete_mailbox(const char *word, int state)
 {
 	struct ao2_iterator iter;
@@ -580,6 +581,7 @@
 
 	return ret;
 }
+#endif	/* defined(MWI_DEBUG_CLI) */
 
 #if defined(MWI_DEBUG_CLI)
 static char *handle_mwi_delete_all(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)




More information about the asterisk-commits mailing list