mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
* avoid warning/error on uninitialized variable
This commit is contained in:
parent
30b0d98636
commit
115f83794b
@ -1277,6 +1277,9 @@ begin
|
||||
{$ifdef CPU64}
|
||||
8: UpperLimit:=High(QWord);
|
||||
{$endif CPU64}
|
||||
else
|
||||
{ avoid error about being uninitialized }
|
||||
UpperLimit:=0;
|
||||
end;
|
||||
{$else VER3_2}
|
||||
UpperLimit:=High(ValUInt); //this preserves 3.2 (and earlier) behaviour
|
||||
|
Loading…
Reference in New Issue
Block a user