projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a68fe3
)
last commit worked on OpenBSD but still generated warning on Ubuntu.
author
Michiel van Baak
<michiel@vanbaak.info>
Sat, 22 Nov 2008 17:17:33 +0000
(17:17 +0000)
committer
Michiel van Baak
<michiel@vanbaak.info>
Sat, 22 Nov 2008 17:17:33 +0000
(17:17 +0000)
Initialise a variable so --enable-dev-mode does not complain
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158723
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
funcs/func_realtime.c
patch
|
blob
|
history
diff --git
a/funcs/func_realtime.c
b/funcs/func_realtime.c
index
74545d8
..
17e3a2d
100644
(file)
--- 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);