Make my compiler happy! Yay!
authorJoshua Colp <jcolp@digium.com>
Tue, 22 May 2007 15:03:32 +0000 (15:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 22 May 2007 15:03:32 +0000 (15:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65451 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cdr.c

index db14dea..5886aab 100644 (file)
@@ -473,7 +473,7 @@ static void cdr_merge_vars(struct ast_cdr *to, struct ast_cdr *from)
        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 *tovarname = NULL, *tovarval = NULL;
                fromvarname = ast_var_name(variablesfrom);
                fromvarval = ast_var_value(variablesfrom);
                tovarname = 0;