hedgewars/uScript.pas
changeset 3407 dcc129c4352e
parent 3368 791fa4664209
child 3539 c3d1fccbe0ed
--- a/hedgewars/uScript.pas	Sun May 02 20:30:23 2010 +0000
+++ b/hedgewars/uScript.pas	Sun May 02 22:00:50 2010 +0000
@@ -105,6 +105,7 @@
 
 function lc_hidemission(L : Plua_State) : LongInt; Cdecl;
 begin
+    L:= L; // avoid compiler hint
     HideMission;
     lc_hidemission:= 0;
 end;
@@ -372,6 +373,7 @@
 
 function lc_endgame(L : Plua_State) : LongInt; Cdecl;
 begin
+    L:= L; // avoid compiler hint
     GameState:= gsExit;
     lc_endgame:= 0
 end;
@@ -569,6 +571,7 @@
 
 // import locale
 s:= cLocaleFName;
+t:= '';
 SplitByChar(s, t, '.');
 ScriptSetString('L', s);