Fixed more compiler warnings.
This commit is contained in:
parent
52827361ae
commit
40c2a6fb55
5 changed files with 82 additions and 63 deletions
|
@ -485,7 +485,7 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
|||
if (suiteFilter == 0 && testFilter == 0) {
|
||||
SDLTest_LogError("Filter '%s' did not match any test suite/case.", filter);
|
||||
SDLTest_Log("Exit code: 2");
|
||||
SDL_free(failedTests);
|
||||
SDL_free((void *) failedTests);
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
@ -671,7 +671,7 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
|||
SDLTest_Log(" --seed %s --filter %s", runSeed, failedTests[testCounter]->name);
|
||||
}
|
||||
}
|
||||
SDL_free(failedTests);
|
||||
SDL_free((void *) failedTests);
|
||||
|
||||
SDLTest_Log("Exit code: %d", runResult);
|
||||
return runResult;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue