diff --git a/apps/app_record.c b/apps/app_record.c index 654bfdd8f4144f2d0ec300049d80ee849f1a7731..83d4000fd66b88ce3edd720da24a02ed6b374a45 100644 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -117,7 +117,7 @@ static int record_exec(struct ast_channel *chan, void *data) int ioflags; int waitres; struct ast_silence_generator *silgen = NULL; - struct ast_flags flags; + struct ast_flags flags = { 0, }; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(filename); AST_APP_ARG(silence);