ソースを参照

Avoid uninitialized variable warning with -O4 option

git-svn-id: trunk@47384 -
pierre 4 年 前
コミット
eb67d87dec
1 ファイル変更5 行追加5 行削除
  1. 5 5
      compiler/systems/t_msdos.pas

+ 5 - 5
compiler/systems/t_msdos.pas

@@ -117,12 +117,12 @@ implementation
         exit;
         exit;
       if tcalo_vectorized_dead_strip_start in options then
       if tcalo_vectorized_dead_strip_start in options then
         secname:='1_START'
         secname:='1_START'
+      else if tcalo_vectorized_dead_strip_item in options then
+        secname:='2_ITEM'
+      else if tcalo_vectorized_dead_strip_end in options then
+        secname:='3_END'
       else
       else
-        if tcalo_vectorized_dead_strip_end in options then
-          secname:='3_END'
-        else
-          if tcalo_vectorized_dead_strip_item in options then
-            secname:='2_ITEM';
+	secname:='4_INV';
       secname:=make_mangledname(basename,st,secname);
       secname:=make_mangledname(basename,st,secname);
     end;
     end;