diff --git a/compiler/optdfa.pas b/compiler/optdfa.pas index 80c5cf36f6..709eac2f31 100644 --- a/compiler/optdfa.pas +++ b/compiler/optdfa.pas @@ -227,8 +227,8 @@ unit optdfa; begin { last node, not exit or raise node and function? } if assigned(resultnode) and - not(node.nodetype=exitn) and - not((node.nodetype=calln) and (cnf_call_never_returns in tcallnode(node).callnodeflags)) then + not(n.nodetype=exitn) and + not((n.nodetype=calln) and (cnf_call_never_returns in tcallnode(n).callnodeflags)) then begin { if yes, result lifes } DFASetDiff(l,resultnode.optinfo^.life,n.optinfo^.def);