浏览代码

* fix compilation with -Oodfa

git-svn-id: trunk@33865 -
florian 9 年之前
父节点
当前提交
04a68d9b94
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/pgenutil.pas

+ 2 - 0
compiler/pgenutil.pas

@@ -711,6 +711,8 @@ uses
 
         result:=nil;
 
+        pd:=nil;
+
         if not check_generic_constraints(genericdef,context.genericdeflist,context.poslist) then
           begin
             { the parameters didn't fit the constraints, so don't continue with the