From: Russell Bryant Date: Wed, 29 Aug 2007 21:25:07 +0000 (+0000) Subject: make trunk build again. murf will have to review this to see if it was the right... X-Git-Tag: 1.6.0-beta1~3^2~1576 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8555b694ee73dbecc868279f1ecd58af121b3f21;p=thirdparty%2Fasterisk.git make trunk build again. murf will have to review this to see if it was the right fix, as it is related to his last change. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81362 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/config.c b/main/config.c index 17faa504c5..a701b238c5 100644 --- a/main/config.c +++ b/main/config.c @@ -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)))