[asterisk-commits] murf: trunk r81363 - /trunk/main/config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 29 16:30:27 CDT 2007
Author: murf
Date: Wed Aug 29 16:30:26 2007
New Revision: 81363
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81363
Log:
init newer so compile won't complain.
Modified:
trunk/main/config.c
Modified: trunk/main/config.c
URL: http://svn.digium.com/view/asterisk/trunk/main/config.c?view=diff&rev=81363&r1=81362&r2=81363
==============================================================================
--- trunk/main/config.c (original)
+++ trunk/main/config.c Wed Aug 29 16:30:26 2007
@@ -634,7 +634,7 @@
int ast_variable_update(struct ast_category *category, const char *variable,
const char *value, const char *match, unsigned int object)
{
- struct ast_variable *cur, *prev=NULL, *newer;
+ struct ast_variable *cur, *prev=NULL, *newer=NULL;
for (cur = category->root; cur; prev = cur, cur = cur->next) {
if (strcasecmp(cur->name, variable) ||
More information about the asterisk-commits
mailing list