Merged revisions 232008 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
  r232008 | russell | 2009-12-01 17:27:53 -0600 (Tue, 01 Dec 2009) | 9 lines
  
  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/branches/1.6.1@232010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-12-01 23:33:35 +00:00
parent d5235d1a1b
commit b8ba9d695b

View File

@@ -1358,7 +1358,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)) {