[asterisk-commits] file: branch 1.4 r93955 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 19 11:29:20 CST 2007


Author: file
Date: Wed Dec 19 11:29:20 2007
New Revision: 93955

URL: http://svn.digium.com/view/asterisk?view=rev&rev=93955
Log:
Make the 1.4 builders happy, ensure var is NULL.

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=93955&r1=93954&r2=93955
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Wed Dec 19 11:29:20 2007
@@ -2674,7 +2674,7 @@
  */
 static struct iax2_peer *realtime_peer(const char *peername, struct sockaddr_in *sin)
 {
-	struct ast_variable *var;
+	struct ast_variable *var = NULL;
 	struct ast_variable *tmp;
 	struct iax2_peer *peer=NULL;
 	time_t regseconds = 0, nowtime;




More information about the asterisk-commits mailing list