mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
initialize variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
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;
|
int errcode;
|
||||||
regex_t regexbuf;
|
regex_t regexbuf;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user