Jelajahi Sumber

initialize pd to fix a warning with O3+

git-svn-id: trunk@29518 -
Károly Balogh 10 tahun lalu
induk
melakukan
37cf157d7d
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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