mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 02:50:44 +01:00
Initializa function result of FindValueKey when current element is nil
git-svn-id: trunk@29607 -
This commit is contained in:
parent
05d38053f7
commit
7001a02ac6
@ -426,10 +426,10 @@ Var
|
||||
Node : TDOMNode;
|
||||
|
||||
begin
|
||||
Result:=Nil;
|
||||
If FCurrentElement<>Nil then
|
||||
begin
|
||||
Node:=FCurrentElement.FirstChild;
|
||||
Result:=Nil;
|
||||
While (Result=Nil) and (Assigned(Node)) do
|
||||
begin
|
||||
If (Node.NodeType=ELEMENT_NODE) and (Node.NodeName=SValue) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user