mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 14:47:55 +02:00
* removed initialisation of unused fparacopyback from tcallparanode.copy_value_by_ref_para
git-svn-id: trunk@45822 -
This commit is contained in:
parent
adf064cbb4
commit
924ffe6538
@ -731,7 +731,6 @@ implementation
|
||||
procedure tcallparanode.copy_value_by_ref_para;
|
||||
var
|
||||
initstat,
|
||||
copybackstat,
|
||||
finistat: tstatementnode;
|
||||
finiblock: tblocknode;
|
||||
paratemp: ttempcreatenode;
|
||||
@ -754,7 +753,6 @@ implementation
|
||||
if not is_array_constructor(left.resultdef) then
|
||||
begin
|
||||
fparainit:=internalstatements(initstat);
|
||||
fparacopyback:=internalstatements(copybackstat);
|
||||
finiblock:=internalstatements(finistat);
|
||||
paratemp:=nil;
|
||||
|
||||
@ -931,10 +929,8 @@ implementation
|
||||
left:=ctemprefnode.create(paratemp);
|
||||
end;
|
||||
addstatement(finistat,ctempdeletenode.create(paratemp));
|
||||
addstatement(copybackstat,finiblock);
|
||||
firstpass(fparainit);
|
||||
firstpass(left);
|
||||
firstpass(fparacopyback);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user