diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-05 17:44:59 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-05 17:44:59 +0000 |
commit | 0738ce5f9e49fb9fda6ac67b2a658fba15dfe958 (patch) | |
tree | 8c417770071de1f37d20e9ddc6b45d42be9494cf /apps/app_directory.c | |
parent | a17700ba803b10ebbb90dbe3f4e2cec12d027d92 (diff) |
Resolve compiler warnings.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91193 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r-- | apps/app_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index b8c040763..6669d0970 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)) { |