Merged revisions 232007 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232007 | russell | 2009-12-01 17:25:36 -0600 (Tue, 01 Dec 2009) | 2 lines
  
  Fix a warning pointed out by buildbot.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@232008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-12-01 23:27:53 +00:00
parent d9f37a67e1
commit 507e579dc9

View File

@@ -1354,7 +1354,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_RWLIST_RDLOCK(&formats)) {