diff options
Diffstat (limited to 'funcs/func_cut.c')
-rw-r--r-- | funcs/func_cut.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c index 82a564b42..cf1981627 100644 --- a/funcs/func_cut.c +++ b/funcs/func_cut.c @@ -141,7 +141,6 @@ static int cut_internal(struct ast_channel *chan, char *data, char *buffer, size if (tmp) { snprintf(tmp, strlen(args.varname) + 4, "${%s}", args.varname); - memset(varvalue, 0, sizeof(varvalue)); } else { return ERROR_NOMEM; } |