Fix Binder's code generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
b2e1e27b73
commit
52cb1f0bf5
@ -1363,7 +1363,7 @@ Var
|
||||
for k := 0 to Pred(prmCnt) do begin
|
||||
prm := TPasArgument(prms[k]);
|
||||
if SymbolTable.IsInitNeed(prm.ArgType) then
|
||||
WriteLn('%s := nil;',[RETURN_VAL_NAME]);
|
||||
WriteLn('%s := nil;',[prm.Name]);
|
||||
end;
|
||||
|
||||
NewLine();
|
||||
|
Loading…
Reference in New Issue
Block a user