From 12071c18f08aaa792b3e2c9cca1e2010b61d87fc Mon Sep 17 00:00:00 2001
From: Michiel van Baak <michiel@vanbaak.info>
Date: Sat, 22 Nov 2008 15:58:49 +0000
Subject: [PATCH] make this compile under devmode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 funcs/func_realtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c
index 3dc25beb54..74545d86c4 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);
-- 
GitLab