mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 08:13:22 +00:00
init newer so compile won't complain.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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,
|
int ast_variable_update(struct ast_category *category, const char *variable,
|
||||||
const char *value, const char *match, unsigned int object)
|
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) {
|
for (cur = category->root; cur; prev = cur, cur = cur->next) {
|
||||||
if (strcasecmp(cur->name, variable) ||
|
if (strcasecmp(cur->name, variable) ||
|
||||||
|
Reference in New Issue
Block a user