[asterisk-commits] oej: branch group/pinana-publish-1.4 r296526 - /team/group/pinana-publish-1.4...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 28 13:54:32 CST 2010


Author: oej
Date: Sun Nov 28 13:54:29 2010
New Revision: 296526

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296526
Log:
Remove some compilation warnings

Modified:
    team/group/pinana-publish-1.4/channels/chan_sip.c

Modified: team/group/pinana-publish-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinana-publish-1.4/channels/chan_sip.c?view=diff&rev=296526&r1=296525&r2=296526
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Sun Nov 28 13:54:29 2010
@@ -1275,7 +1275,7 @@
 
 static void dlginfo_epa_destructor(void *data)
 {
-	/* ???? */
+	/* XXX needs fixing???? */
         struct sip_epa_entry *epa_entry = data;
         //struct dlginfo_epa_entry *dlginfo_entry = epa_entry->instance_data;
         //ast_free(dlginfo_entry);
@@ -19271,7 +19271,7 @@
 
 /* Forward decl (no doxygen here) */
 static int __sip_subscribe_pres_do(struct sip_subscription_pres *pres);
-static int sip_subscribe_pres_do(void *data);
+static int sip_subscribe_pres_do(const void *data);
 
 /*! \brief  The MWI subscription list */
 static struct ast_subscription_pres_list {
@@ -19375,7 +19375,7 @@
 
 
 /*! \brief Send a subscription or resubscription for presence */
-static int sip_subscribe_pres_do(void *data)
+static int sip_subscribe_pres_do(const void *data)
 {
 	struct sip_subscription_pres *pres = (struct sip_subscription_pres *) data;
 
@@ -20445,7 +20445,7 @@
 	/* Now load the presence configuration */
 	pcfg = ast_config_load(presence_config);
 	if (pcfg) {
-		int presence_result = presence_load_config(pcfg);
+		presence_load_config(pcfg);
 		ast_config_destroy(pcfg);
 		/* XXX Let's determine later what to do with the result here */
 	}




More information about the asterisk-commits mailing list