mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 04:09:33 +02:00
* more false positives of unintialized varibles worked around
This commit is contained in:
parent
45840da4dd
commit
366aedc6d8
@ -1167,6 +1167,9 @@ begin
|
||||
Temp:=0;
|
||||
Code:=InitVal(s,negative,base);
|
||||
|
||||
{ avoid error about being uninitialized }
|
||||
UnsignedUpperLimit := 0;
|
||||
|
||||
if (base=10) or negative then
|
||||
begin //always limit to either Low(DestType) or High(DestType)
|
||||
case DestSize of
|
||||
|
Loading…
Reference in New Issue
Block a user