diff options
author | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-22 17:17:33 +0000 |
---|---|---|
committer | mvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-22 17:17:33 +0000 |
commit | 94f173ef51ff01cac1f35120cdf72356d7868228 (patch) | |
tree | 43c43072d9c637b6bd9cedff3b3ab7dcdf7779a5 /funcs/func_realtime.c | |
parent | e8ed625b27092bcf2ddb698960aab4814fe220d4 (diff) |
last commit worked on OpenBSD but still generated warning on Ubuntu.
Initialise a variable so --enable-dev-mode does not complain
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@158723 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_realtime.c')
-rw-r--r-- | funcs/func_realtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c index 74545d86c..17e3a2d2b 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 = NULL; + int first = 0; enum { rtfield, rthash } which; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(family); |