[asterisk-commits] russell: trunk r76524 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 23 09:02:21 CDT 2007
Author: russell
Date: Mon Jul 23 09:02:21 2007
New Revision: 76524
URL: http://svn.digium.com/view/asterisk?view=rev&rev=76524
Log:
Remove an unused function to resolve a compiler warning
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=76524&r1=76523&r2=76524
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jul 23 09:02:21 2007
@@ -1550,7 +1550,6 @@
static char *complete_sip_show_history(const char *line, const char *word, int pos, int state);
static char *complete_sip_show_peer(const char *line, const char *word, int pos, int state);
static char *complete_sip_unregister(const char *line, const char *word, int pos, int state);
-static char *complete_sip_debug_peer(const char *line, const char *word, int pos, int state);
static char *complete_sip_user(const char *word, int state, int flags2);
static char *complete_sip_show_user(const char *line, const char *word, int pos, int state);
static char *complete_sipnotify(const char *line, const char *word, int pos, int state);
@@ -11609,15 +11608,6 @@
return complete_sip_registered_peer(word, state, 0);
return NULL;
-}
-
-/*! \brief Support routine for 'sip debug peer' CLI */
-static char *complete_sip_debug_peer(const char *line, const char *word, int pos, int state)
-{
- if (pos == 4)
- return complete_sip_peer(word, state, 0);
-
- return NULL;
}
/*! \brief Do completion on user name */
More information about the asterisk-commits
mailing list