[asterisk-commits] file: branch 1.4 r72599 - /branches/1.4/main/cdr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 29 09:26:33 CDT 2007
Author: file
Date: Fri Jun 29 09:26:32 2007
New Revision: 72599
URL: http://svn.digium.com/view/asterisk?view=rev&rev=72599
Log:
Minor change for older GCC versions.
Modified:
branches/1.4/main/cdr.c
Modified: branches/1.4/main/cdr.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cdr.c?view=diff&rev=72599&r1=72598&r2=72599
==============================================================================
--- branches/1.4/main/cdr.c (original)
+++ branches/1.4/main/cdr.c Fri Jun 29 09:26:32 2007
@@ -468,8 +468,8 @@
struct varshead *headpto = &from->varshead;
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 *fromvarname = NULL, *fromvarval = NULL;
+ 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