浏览代码

* initialize secalign before case statement to avoid warning. Mantis #28326

git-svn-id: trunk@31145 -
marco 10 年之前
父节点
当前提交
8d145ce706
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/ogomf.pas

+ 1 - 0
compiler/ogomf.pas

@@ -991,6 +991,7 @@ implementation
             exit;
           end;
         OverlayName:=LNames[SegDefRec.OverlayNameIndex];
+        SecAlign:=1; // otherwise warning prohibits compilation
         case SegDefRec.Alignment of
           saRelocatableByteAligned:
             SecAlign:=1;