Преглед изворни кода

* ensure that hmodule is initialized correctly

Sven/Sarah Barth пре 2 година
родитељ
комит
f0e31628ad
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      compiler/pgenutil.pas

+ 1 - 0
compiler/pgenutil.pas

@@ -1708,6 +1708,7 @@ uses
         result:=nil;
 
         pd:=nil;
+        hmodule:=nil;
 
         if not check_generic_constraints(genericdef,context.paramlist,context.poslist) then
           begin