Browse Source

* set result of searchsym_in_record() in case nothing was found

git-svn-id: trunk@17161 -
Jonas Maebe 14 năm trước cách đây
mục cha
commit
10674153cf
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      compiler/symtable.pas

+ 1 - 0
compiler/symtable.pas

@@ -2199,6 +2199,7 @@ implementation
       var
         hashedid : THashedIDString;
       begin
+        result:=false;
         hashedid.id:=s;
         srsymtable:=recordh.symtable;
         srsym:=tsym(srsymtable.FindWithHash(hashedid));