From: Kinsey Moore Date: Tue, 5 Jun 2012 15:26:05 +0000 (+0000) Subject: Resolve some build warnings X-Git-Tag: 1.8.14.0-rc1~3^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca256c003b4bcde29748330c435641d8d10bd7ee;p=thirdparty%2Fasterisk.git 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 --- 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;