summaryrefslogtreecommitdiff
path: root/main/config.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-08-29 21:30:26 +0000
committerSteve Murphy <murf@digium.com>2007-08-29 21:30:26 +0000
commit876ebb3ec706f8503c8c73e3e147cc044befe97f (patch)
tree64d02cf7bc4cf322e0841f558a2cb646d003937e /main/config.c
parent8555b694ee73dbecc868279f1ecd58af121b3f21 (diff)
init newer so compile won't complain.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/config.c')
-rw-r--r--main/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c
index a701b238c..7a44685b9 100644
--- a/main/config.c
+++ b/main/config.c
@@ -634,7 +634,7 @@ int ast_variable_delete(struct ast_category *category, const char *variable, con
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) ||