codetools: fixed FindAliasDefinitions crash when no alias found

git-svn-id: trunk@14533 -
This commit is contained in:
mattias 2008-03-15 13:34:04 +00:00
parent 3ed0e65d2b
commit d8cf78193b

View File

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