Преглед изворни кода

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