From ca256c003b4bcde29748330c435641d8d10bd7ee Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Tue, 5 Jun 2012 15:26:05 +0000 Subject: [PATCH] Resolve some build warnings My newly upgraded compiler caught these usages of uninitialized values. They weren't actually used. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@368533 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_minivm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_minivm.c b/apps/app_minivm.c index b88653d3f8..dc81d3f15a 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -2091,7 +2091,7 @@ static int minivm_notify_exec(struct ast_channel *chan, const char *data) char *domain; char *tmpptr; struct minivm_account *vmu; - char *username = argv[0]; + char *username; const char *template = ""; const char *filename; const char *format; @@ -2465,7 +2465,7 @@ static int minivm_accmess_exec(struct ast_channel *chan, const char *data) char *domain; char *tmpptr = NULL; struct minivm_account *vmu; - char *username = argv[0]; + char *username; struct ast_flags flags = { 0 }; char *opts[OPT_ARG_ARRAY_SIZE]; int error = FALSE; -- 2.47.3