Sfoglia il codice sorgente

* ensure that hmodule is initialized correctly

Sven/Sarah Barth 2 anni fa
parent
commit
f0e31628ad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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