From d29a6de4372813ba6d59022d976e31e82f26092d Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 27 Aug 2019 12:15:03 +0000 Subject: [PATCH] Avoid possible warning about uninitialized srsym variable git-svn-id: trunk@42857 - --- compiler/symtable.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/symtable.pas b/compiler/symtable.pas index 8b18f77f01..77eb5034fc 100644 --- a/compiler/symtable.pas +++ b/compiler/symtable.pas @@ -4304,6 +4304,8 @@ implementation hashedid.id:=class_helper_prefix+s; stackitem:=symtablestack.stack; result:=false; + srsym:=nil; + srsymtable:=nil; founddefowner:=nil; while assigned(stackitem) do begin @@ -4363,8 +4365,6 @@ implementation addsymref(srsym); exit; end; - srsym:=nil; - srsymtable:=nil; end;