aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-14 00:45:38 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-14 00:45:38 +0000
commit73fbc1fc891c44aa3b63cde60d0dad0d8b3f696c (patch)
tree5f3a5a370a892c5401884509c8a42cfaf2542de3 /funcs
parentfa557668f54d406fbe972ead0e13df173b6bf04f (diff)
initialize variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6786 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rwxr-xr-xfuncs/func_strings.c2
1 files changed, 1 insertions, 1 deletions
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;