[Coverity] Missing varargs init or cleanup (VARARGS)
This commit is contained in:
@@ -60,6 +60,7 @@ CommandLineTestCaseBase::Parse (const CommandLine &cmd, int n, ...)
|
||||
args[i+1] = arg;
|
||||
i++;
|
||||
}
|
||||
va_end (ap);
|
||||
int argc = n + 1;
|
||||
cmd.Parse (argc, args);
|
||||
delete [] args;
|
||||
|
||||
Reference in New Issue
Block a user