mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 17:30:21 +02:00
* avoid bug #911, worng unused parameter hints
This commit is contained in:
parent
33f3467ef0
commit
d2aa336b2f
@ -548,7 +548,8 @@ implementation
|
||||
|
||||
begin
|
||||
if (psym(p)^.typ=varsym) then
|
||||
pvarsym(p)^.refs:=0;
|
||||
if pvarsym(p)^.refs>1 then
|
||||
pvarsym(p)^.refs:=1;
|
||||
end;
|
||||
|
||||
procedure generatecode(var p : ptree);
|
||||
@ -843,7 +844,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.62 2000-04-02 12:11:38 florian
|
||||
Revision 1.63 2000-04-06 11:28:17 pierre
|
||||
* avoid bug 911, worng unused parameter hints
|
||||
|
||||
Revision 1.62 2000/04/02 12:11:38 florian
|
||||
* enumerations with size 1 or 2 weren't handled corretly if they were register
|
||||
variables: in fact they got 32 bit register assigned; fixed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user