The warnings were about argv[0] being used uninitialized, which is correct.
Just remove setting username to this value, since username is set again before
it actually gets used.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@364438
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
char *domain;
char *tmpptr;
struct minivm_account *vmu;
- char *username = argv[0];
+ char *username;
const char *template = "";
const char *filename;
const char *format;
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;