[asterisk-commits] file: trunk r65451 - /trunk/main/cdr.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 22 08:03:33 MST 2007


Author: file
Date: Tue May 22 10:03:32 2007
New Revision: 65451

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65451
Log:
Make my compiler happy! Yay!

Modified:
    trunk/main/cdr.c

Modified: trunk/main/cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cdr.c?view=diff&rev=65451&r1=65450&r2=65451
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Tue May 22 10:03:32 2007
@@ -473,7 +473,7 @@
 	AST_LIST_TRAVERSE_SAFE_BEGIN(headpfrom, variablesfrom, entries) {
 		/* for every var in from, stick it in to */
 		const char *fromvarname, *fromvarval;
-		const char *tovarname, *tovarval;
+		const char *tovarname = NULL, *tovarval = NULL;
 		fromvarname = ast_var_name(variablesfrom);
 		fromvarval = ast_var_value(variablesfrom);
 		tovarname = 0;



More information about the asterisk-commits mailing list