Weird compiler error on Bamboo.
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Jul 2010 18:41:59 +0000 (18:41 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Jul 2010 18:41:59 +0000 (18:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_env.c

index f5814ae..24f76b3 100644 (file)
@@ -719,7 +719,7 @@ static int file_write(struct ast_channel *chan, const char *cmd, char *data, con
        );
        int64_t offset = 0, length = LLONG_MAX;
        off_t flength, vlength;
-       size_t foplen;
+       size_t foplen = 0;
        FILE *ff;
 
        AST_STANDARD_APP_ARGS(args, data);