From: Russell Bryant Date: Wed, 5 Dec 2007 17:44:59 +0000 (+0000) Subject: Resolve compiler warnings. X-Git-Tag: 1.6.0-beta1~3^2~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82c42a22e6a0883c8b51b269d3be9c50e4cd6be;p=thirdparty%2Fasterisk.git Resolve compiler warnings. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91193 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_directory.c b/apps/app_directory.c index b8c040763a..6669d09704 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -482,7 +482,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru int res; int found=0; int lastuserchoice = 0; - char *start, *conv, *stringp = NULL; + char *start, *conv = NULL, *stringp = NULL; char *pos; int breakout = 0; @@ -636,7 +636,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru if (!res && ucfg) { /* Search users.conf for all names which start with those digits */ if (ast_test_flag(flags, OPT_SELECTFROMMENU)) { - char *fullname; + char *fullname = NULL; struct items menuitems[8]; int menucount = 0; for (cat = ast_category_browse(ucfg, NULL); cat && !res ; cat = ast_category_browse(ucfg, cat)) {