[svn-commits] jpeeler: trunk r108523 - /trunk/apps/app_externalivr.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 13 15:38:56 CDT 2008


Author: jpeeler
Date: Thu Mar 13 15:38:56 2008
New Revision: 108523

URL: http://svn.digium.com/view/asterisk?view=rev&rev=108523
Log:
set variable to NULL to prevent uninitialized warning

Modified:
    trunk/apps/app_externalivr.c

Modified: trunk/apps/app_externalivr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_externalivr.c?view=diff&rev=108523&r1=108522&r2=108523
==============================================================================
--- trunk/apps/app_externalivr.c (original)
+++ trunk/apps/app_externalivr.c Thu Mar 13 15:38:56 2008
@@ -312,7 +312,7 @@
 	char hostname[1024];
 	char *port_str = NULL;
 	int port = 0;
-	struct ast_tcptls_session_instance *ser;
+	struct ast_tcptls_session_instance *ser = NULL;
 
 	struct ivr_localuser foo = {
 		.playlist = AST_LIST_HEAD_INIT_VALUE,




More information about the svn-commits mailing list