mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-17 18:19:45 +00:00
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:
@@ -1365,7 +1365,7 @@ char *ast_format_str_reduce(char *fmts)
|
|||||||
char *fmts_str[AST_MAX_FORMATS];
|
char *fmts_str[AST_MAX_FORMATS];
|
||||||
char *stringp, *type;
|
char *stringp, *type;
|
||||||
char *orig = fmts;
|
char *orig = fmts;
|
||||||
int i, j, x, first, found;
|
int i, j, x, first, found = 0;
|
||||||
int len = strlen(fmts) + 1;
|
int len = strlen(fmts) + 1;
|
||||||
|
|
||||||
if (AST_LIST_LOCK(&formats)) {
|
if (AST_LIST_LOCK(&formats)) {
|
||||||
|
Reference in New Issue
Block a user