projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8555b69
)
init newer so compile won't complain.
author
Steve Murphy
<murf@digium.com>
Wed, 29 Aug 2007 21:30:26 +0000
(21:30 +0000)
committer
Steve Murphy
<murf@digium.com>
Wed, 29 Aug 2007 21:30:26 +0000
(21:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81363
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/config.c
patch
|
blob
|
history
diff --git
a/main/config.c
b/main/config.c
index
a701b23
..
7a44685
100644
(file)
--- 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) ||