summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 03:44:09 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 03:44:09 +0200
commit1a67500d100520dd8be9856f2f57ab8b0fbf90bb (patch)
treed7a41e9ab82ac77e6256834c0133d752b978751b /tests
parentff9046f7092dfef012f39785131803e359394660 (diff)
That variable actually belongs in its own context.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Lua.cc2
1 files changed, 1 insertions, 1 deletions
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: