]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add default case to file_format switch.
authorNick Clifton <nickc@redhat.com>
Mon, 18 Dec 2000 19:03:30 +0000 (19:03 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 18 Dec 2000 19:03:30 +0000 (19:03 +0000)
bfd/ChangeLog
bfd/vms-misc.c

index 99011eaf900a3d7da543b32245186b4b61d74728..902f82c2d6a02a1f6687e4bc2f7c41e67c122e07 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-18  Nick Clifton  <nickc@redhat.com>
+
+       * vms-misc.c (_bfd_vms_get_record): Add default case to
+       file_format switch.
+
 2000-12-15  Miloslav Trmac <mitr@volny.cz>
 
        * elfcore.h (elf_core_file_p): Move to the start of the program
index c5893f30a98233fe95fbe6dc3b6a5dd59db72ab7..8ebb67c07995395b92ce0cbff675675ef67322f3 100644 (file)
@@ -313,22 +313,23 @@ _bfd_vms_get_record (abfd)
 
   switch (PRIV(file_format))
     {
-      case FF_UNKNOWN:
-      case FF_FOREIGN:
-       test_len = 6;                   /* probe 6 bytes */
-       test_start = 2;                 /* where the record starts */
+    case FF_UNKNOWN:
+    case FF_FOREIGN:
+      test_len = 6;                    /* probe 6 bytes */
+      test_start = 2;                  /* where the record starts */
       break;
-
-      case FF_NATIVE:
-       test_len = 4;
-       test_start = 0;
+      
+    case FF_NATIVE:
+      test_len = 4;
+      test_start = 0;
       break;
-
-      case FF_VAX:
-       test_len = 0;
-       test_start = 0;
+      
+    default:
+    case FF_VAX:
+      test_len = 0;
+      test_start = 0;
       break;
-  }
+    }
 
   /* skip odd alignment byte  */