Initialize character arrays as they are not guaranteed to be set.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler 2008-10-17 00:14:19 +00:00
parent 1b1efebf4b
commit 4afb2649b9
1 changed files with 2 additions and 2 deletions

View File

@ -3391,8 +3391,8 @@ static int conf_exec(struct ast_channel *chan, void *data)
}
}
if (!ast_strlen_zero(confno)) {
char useropts[OPTIONS_LEN];
char adminopts[OPTIONS_LEN];
char useropts[OPTIONS_LEN] = "";
char adminopts[OPTIONS_LEN] = "";
/* Check the validity of the conference */
cnf = find_conf(chan, confno, 1, dynamic, the_pin,
sizeof(the_pin), 1, &confflags);