aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-01 23:25:36 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-01 23:25:36 +0000
commit2933b0c96aaeaf7edea63e1d36251267b3e6d292 (patch)
tree5064f804a3c587f58bc3a442f785c1654b2211a0
parent5c3fc77449c4ce456328fa2727c302032197ebb5 (diff)
Fix a warning pointed out by buildbot.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@232007 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c
index 164560312..8d254b143 100644
--- a/main/file.c
+++ b/main/file.c
@@ -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)) {