diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c index 3dc25beb548d4320716936bb1cba758c4d8d5d1c..74545d86c47bb9e31f55a14c24434bbfa5ef93fd 100644 --- a/funcs/func_realtime.c +++ b/funcs/func_realtime.c @@ -252,7 +252,7 @@ static int realtimefield_read(struct ast_channel *chan, const char *cmd, char *d struct ast_str *escapebuf = ast_str_thread_get(&buf1, 16); struct ast_str *fields = ast_str_thread_get(&buf2, 16); struct ast_str *values = ast_str_thread_get(&buf3, 16); - int first; + int first = NULL; enum { rtfield, rthash } which; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(family);