From 1a67500d100520dd8be9856f2f57ab8b0fbf90bb Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 6 Aug 2013 03:44:09 +0200 Subject: That variable actually belongs in its own context. --- tests/test-Lua.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test-Lua.cc b/tests/test-Lua.cc index 9337d35..f0d6bb3 100644 --- a/tests/test-Lua.cc +++ b/tests/test-Lua.cc @@ -90,11 +90,11 @@ int sLua_ObjectTest::ObjectTest_proceed(Lua & L, int n, ObjectTest * obj, int ca return 0; } -static Events::Timeout * evt = NULL; static int yieldCount = 0; int sLua_ObjectTest::ObjectTest_proceed_static(Lua & L, int n, int caller) throw (GeneralException) { int y; + Events::Timeout * evt = NULL; switch (caller) { case OBJECTTEST_CONSTRUCTOR: -- cgit v1.2.3