TESTBED: Get rid of static local variable
It's not only against our coding guidelines, but also breaks running the mutex test multiple times. It may or may not also be responsible for a MSVC9 build failure reported on IRC.
This commit is contained in:
parent
8b3c36cfad
commit
b16d6e8bb2
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ TestExitStatus MiscTests::testMutexes() {
|
|||
Testsuite::writeOnScreen("Installing mutex", Common::Point(0, 100));
|
||||
}
|
||||
|
||||
static SharedVars sv = {1, 1, true, g_system->createMutex()};
|
||||
SharedVars sv = {1, 1, true, g_system->createMutex()};
|
||||
|
||||
if (g_system->getTimerManager()->installTimerProc(criticalSection, 100000, &sv)) {
|
||||
g_system->delayMillis(150);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue