make trunk build again. murf will have to review this to see if it was the right...
authorRussell Bryant <russell@russellbryant.com>
Wed, 29 Aug 2007 21:25:07 +0000 (21:25 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 29 Aug 2007 21:25:07 +0000 (21:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/config.c

index 17faa50..a701b23 100644 (file)
@@ -636,8 +636,6 @@ int ast_variable_update(struct ast_category *category, const char *variable,
 {
        struct ast_variable *cur, *prev=NULL, *newer;
 
-       newer->object = object;
-
        for (cur = category->root; cur; prev = cur, cur = cur->next) {
                if (strcasecmp(cur->name, variable) ||
                        (!ast_strlen_zero(match) && strcasecmp(cur->value, match)))