]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Resolve some build warnings
authorKinsey Moore <kmoore@digium.com>
Tue, 5 Jun 2012 15:27:01 +0000 (15:27 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 5 Jun 2012 15:27:01 +0000 (15:27 +0000)
My newly upgraded compiler caught these usages of uninitialized values.
They weren't actually used.
........

Merged revisions 368533 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@368536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_minivm.c

index b88653d3f817a5e7a7e07f961345e02692cf5ae6..dc81d3f15a93ac17ea77c73eb68ea898542f51d7 100644 (file)
@@ -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;