# HG changeset patch # User nemo # Date 1543006990 18000 # Node ID 9548edd9ebcf8611a4a9904f28e0fc09e13c5d94 # Parent 6015b74eea55e8b0286779def231523e55118977 uninitialised values diff -r 6015b74eea55 -r 9548edd9ebcf hedgewars/uScript.pas --- a/hedgewars/uScript.pas Fri Nov 23 15:54:23 2018 -0500 +++ b/hedgewars/uScript.pas Fri Nov 23 16:03:10 2018 -0500 @@ -2285,6 +2285,7 @@ i, n: LongInt; success: boolean; begin + success:= false; if CheckAndFetchParamCount(L, 1, 2, 'SetTeamLabel', 'teamname[, label]', n) then begin success:= false; @@ -3124,6 +3125,7 @@ var success : boolean; n : LongInt; begin + success:= false; if CheckAndFetchParamCount(L, 1, 2, 'HedgewarsScriptLoad', 'scriptPath [, mustExist]', n) then begin if n = 1 then