Fix a warning pointed out by buildbot.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@232007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-12-01 23:25:36 +00:00
parent 8d6faec4b6
commit 42d9c2c466

View File

@@ -1365,7 +1365,7 @@ char *ast_format_str_reduce(char *fmts)
char *fmts_str[AST_MAX_FORMATS];
char *stringp, *type;
char *orig = fmts;
int i, j, x, first, found;
int i, j, x, first, found = 0;
int len = strlen(fmts) + 1;
if (AST_LIST_LOCK(&formats)) {