Explorar el Código

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

git-svn-id: trunk@17161 -
Jonas Maebe hace 14 años
padre
commit
10674153cf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      compiler/symtable.pas

+ 1 - 0
compiler/symtable.pas

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