From f40f94b4c18d6638662aef09aef4de17ad38e672 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 26 May 2007 19:40:46 +0000 Subject: Compilation fix. --- lib/LuaTask.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc index cc12d76..dfb12d7 100644 --- a/lib/LuaTask.cc +++ b/lib/LuaTask.cc @@ -41,6 +41,7 @@ String LuaTask::GetName() { } int LuaTask::Do() throw (GeneralException) { + int nargs = 0; switch (current) { case 0: current = 1; @@ -50,8 +51,6 @@ int LuaTask::Do() throw (GeneralException) { L->resume(nargs); } case 2: - int nargs = 0; - #ifndef LUATASK_OMIT_HTTPCLIENT if (task == "HttpClient") { LuaBuffer o(b); -- cgit v1.2.3