* removed initialisation of unused fparacopyback from tcallparanode.copy_value_by_ref_para

git-svn-id: trunk@45822 -
This commit is contained in:
Jonas Maebe 2020-07-21 17:57:45 +00:00
parent adf064cbb4
commit 924ffe6538

View File

@ -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;