[asterisk-commits] kmoore: branch 1.8 r368533 - /branches/1.8/apps/app_minivm.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 5 10:26:10 CDT 2012
Author: kmoore
Date: Tue Jun 5 10:26:05 2012
New Revision: 368533
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368533
Log:
Resolve some build warnings
My newly upgraded compiler caught these usages of uninitialized values.
They weren't actually used.
Modified:
branches/1.8/apps/app_minivm.c
Modified: branches/1.8/apps/app_minivm.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_minivm.c?view=diff&rev=368533&r1=368532&r2=368533
==============================================================================
--- branches/1.8/apps/app_minivm.c (original)
+++ branches/1.8/apps/app_minivm.c Tue Jun 5 10:26:05 2012
@@ -2091,7 +2091,7 @@
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 @@
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;
More information about the asterisk-commits
mailing list