Explorar o código

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

git-svn-id: trunk@31145 -
marco %!s(int64=10) %!d(string=hai) anos
pai
achega
8d145ce706
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;