FIX: moved declarations above the statements for strict C 90 compliance.

This commit is contained in:
Pascal J. Bourguignon 2018-06-07 13:29:44 +02:00
parent 15f2bafeab
commit 17a3782d1a

View File

@ -64,9 +64,12 @@ int TestCmdLine(int argc, char* argv[])
long width = 0;
long height = 0;
COMMAND_LINE_ARGUMENT_A* arg;
int testArgc;
char** command_line;
flags = COMMAND_LINE_SIGIL_SLASH | COMMAND_LINE_SEPARATOR_COLON | COMMAND_LINE_SIGIL_PLUS_MINUS;
int testArgc = string_list_length(testArgv);
char** command_line = string_list_copy(testArgv);
testArgc = string_list_length(testArgv);
command_line = string_list_copy(testArgv);
status = CommandLineParseArgumentsA(testArgc, command_line, args, flags, NULL, NULL, NULL);
if (status != 0)