aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 17:13:04 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 17:13:04 +0000
commita67266b31503b6894870069176e96a2e2d0513da (patch)
tree9989a09648855341d61dfde54cec0c345fca581f /funcs
parent0eb65f87ea195ff4fc8920727893519374d49366 (diff)
Allow some function modules to compile under dev mode.
Issue 11104, patch by andrew. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87340 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_cut.c2
-rw-r--r--funcs/func_realtime.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c
index bcabd0508..51b9adc70 100644
--- a/funcs/func_cut.c
+++ b/funcs/func_cut.c
@@ -251,7 +251,7 @@ static int acf_sort_exec(struct ast_channel *chan, char *cmd, char *data, char *
static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
{
int ret = -1;
- struct ast_module_user *u;
+ struct ast_module_user *u = NULL;
if (chan) {
ast_autoservice_start(chan);
diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c
index c9e730bc1..6442190e4 100644
--- a/funcs/func_realtime.c
+++ b/funcs/func_realtime.c
@@ -103,7 +103,7 @@ static int function_realtime_read(struct ast_channel *chan, char *cmd, char *dat
static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value)
{
- struct ast_module_user *u;
+ struct ast_module_user *u = NULL;
int res = 0;
AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(family);