diff options
-rw-r--r-- | funcs/func_cut.c | 2 | ||||
-rw-r--r-- | funcs/func_realtime.c | 2 |
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); |