浏览代码

* ensure that result of factor_handle_sym is initialized

Sven/Sarah Barth 3 年之前
父节点
当前提交
1a8444087a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pexpr.pas

@@ -2860,6 +2860,7 @@ implementation
         tmpgetaddr : boolean;
         tmpgetaddr : boolean;
       begin
       begin
         hdef:=nil;
         hdef:=nil;
+        result:=nil;
         case srsym.typ of
         case srsym.typ of
           absolutevarsym :
           absolutevarsym :
             begin
             begin