mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Minor change for older GCC versions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -468,8 +468,8 @@ static void cdr_merge_vars(struct ast_cdr *to, struct ast_cdr *from)
|
||||
struct varshead *headpto = &from->varshead;
|
||||
AST_LIST_TRAVERSE_SAFE_BEGIN(headpfrom, variablesfrom, entries) {
|
||||
/* for every var in from, stick it in to */
|
||||
const char *fromvarname, *fromvarval;
|
||||
const char *tovarname, *tovarval;
|
||||
const char *fromvarname = NULL, *fromvarval = NULL;
|
||||
const char *tovarname = NULL, *tovarval = NULL;
|
||||
fromvarname = ast_var_name(variablesfrom);
|
||||
fromvarval = ast_var_value(variablesfrom);
|
||||
tovarname = 0;
|
||||
|
Reference in New Issue
Block a user