Parcourir la source

initialize pd to fix a warning with O3+

git-svn-id: trunk@29518 -
Károly Balogh il y a 10 ans
Parent
commit
37cf157d7d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      compiler/ngtcon.pas

+ 1 - 0
compiler/ngtcon.pas

@@ -1288,6 +1288,7 @@ function get_next_varsym(def: tabstractrecorddef; const SymList:TFPHashObjectLis
             n.free;
             n:=tmpn;
           end;
+        pd:=nil;
         { we now need to have a loadn with a procsym }
         havepd:=
           (n.nodetype=loadn) and