mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 03:59:01 +00:00
Resolve compiler warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -482,7 +482,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru
|
|||||||
int res;
|
int res;
|
||||||
int found=0;
|
int found=0;
|
||||||
int lastuserchoice = 0;
|
int lastuserchoice = 0;
|
||||||
char *start, *conv, *stringp = NULL;
|
char *start, *conv = NULL, *stringp = NULL;
|
||||||
char *pos;
|
char *pos;
|
||||||
int breakout = 0;
|
int breakout = 0;
|
||||||
|
|
||||||
@@ -636,7 +636,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru
|
|||||||
if (!res && ucfg) {
|
if (!res && ucfg) {
|
||||||
/* Search users.conf for all names which start with those digits */
|
/* Search users.conf for all names which start with those digits */
|
||||||
if (ast_test_flag(flags, OPT_SELECTFROMMENU)) {
|
if (ast_test_flag(flags, OPT_SELECTFROMMENU)) {
|
||||||
char *fullname;
|
char *fullname = NULL;
|
||||||
struct items menuitems[8];
|
struct items menuitems[8];
|
||||||
int menucount = 0;
|
int menucount = 0;
|
||||||
for (cat = ast_category_browse(ucfg, NULL); cat && !res ; cat = ast_category_browse(ucfg, cat)) {
|
for (cat = ast_category_browse(ucfg, NULL); cat && !res ; cat = ast_category_browse(ucfg, cat)) {
|
||||||
|
Reference in New Issue
Block a user