mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 10:36:20 +02:00
codetools: fixed FindAliasDefinitions crash when no alias found
git-svn-id: trunk@14533 -
This commit is contained in:
parent
3ed0e65d2b
commit
d8cf78193b
@ -2073,6 +2073,7 @@ var
|
||||
NeededType: TCodeTreeNodeDesc;
|
||||
NextAVLNode: TAVLTreeNode;
|
||||
begin
|
||||
if TreeOfCodeTreeNodeExt=nil then exit;
|
||||
AVLNode:=TreeOfCodeTreeNodeExt.FindLowest;
|
||||
while AVLNode<>nil do begin
|
||||
NextAVLNode:=TreeOfCodeTreeNodeExt.FindSuccessor(AVLNode);
|
||||
|
Loading…
Reference in New Issue
Block a user