Add back a necessary null check

Diff 817612 added a null check, but inadvertently removed a null check.
Esse commit está contido em:
Herman Venter
2013-06-10 14:55:08 -07:00
commit de sgolemon
commit da8e8adc46
+1 -1
Ver Arquivo
@@ -706,7 +706,7 @@ static void prepare_args(int &argc, char **&argv, const StringVec &args,
const char *file) {
argv = (char **)malloc((args.size() + 2) * sizeof(char*));
argc = 0;
if (*file) {
if (file && *file) {
argv[argc++] = (char*)file;
}
for (int i = 0; i < (int)args.size(); i++) {