[svn-commits] kmoore: branch 10 r368536 - in /branches/10: ./ apps/app_minivm.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 5 10:27:05 CDT 2012


Author: kmoore
Date: Tue Jun  5 10:27:01 2012
New Revision: 368536

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368536
Log:
Resolve some build warnings

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

Modified:
    branches/10/   (props changed)
    branches/10/apps/app_minivm.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/apps/app_minivm.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_minivm.c?view=diff&rev=368536&r1=368535&r2=368536
==============================================================================
--- branches/10/apps/app_minivm.c (original)
+++ branches/10/apps/app_minivm.c Tue Jun  5 10:27:01 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 svn-commits mailing list