diff --git a/compiler/pgenutil.pas b/compiler/pgenutil.pas index 6275b59081..fd37efe3bd 100644 --- a/compiler/pgenutil.pas +++ b/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