ソースを参照

* 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;