Jelajahi Sumber

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

git-svn-id: trunk@17161 -
Jonas Maebe 14 tahun lalu
induk
melakukan
10674153cf
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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));