aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c
index 1549b9d7b..8c4eb87de 100644
--- a/main/file.c
+++ b/main/file.c
@@ -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)) {