From 73fbc1fc891c44aa3b63cde60d0dad0d8b3f696c Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 14 Oct 2005 00:45:38 +0000 Subject: initialize variable git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6786 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'funcs/func_strings.c') diff --git a/funcs/func_strings.c b/funcs/func_strings.c index dced1e1a6..0350141d9 100755 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -69,7 +69,7 @@ struct ast_custom_function fieldqty_function = { static char *builtin_function_regex(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) { - char *arg, *earg, *tmp, errstr[256] = ""; + char *arg, *earg = NULL, *tmp, errstr[256] = ""; int errcode; regex_t regexbuf; -- cgit v1.2.3