aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-misc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-18 19:03:30 +0000
committerNick Clifton <nickc@redhat.com>2000-12-18 19:03:30 +0000
commit02b89dcefcae12b4512f9e43c50746c5fa2709ba (patch)
tree48e3885bc719bc1156f7541ebcf67157e139a957 /bfd/vms-misc.c
parentc5f7d19c5a425025b2f24036bcafcdcd7de0184f (diff)
downloadgdb-02b89dcefcae12b4512f9e43c50746c5fa2709ba.zip
gdb-02b89dcefcae12b4512f9e43c50746c5fa2709ba.tar.gz
gdb-02b89dcefcae12b4512f9e43c50746c5fa2709ba.tar.bz2
Add default case to file_format switch.
Diffstat (limited to 'bfd/vms-misc.c')
-rw-r--r--bfd/vms-misc.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/bfd/vms-misc.c b/bfd/vms-misc.c
index c5893f3..8ebb67c 100644
--- a/bfd/vms-misc.c
+++ b/bfd/vms-misc.c
@@ -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 */