2017-05-15 Jeff Law <law@redhat.com>
authorJeff Law <law@redhat.com>
Mon, 15 May 2017 16:48:41 +0000 (10:48 -0600)
committerJeff Law <law@redhat.com>
Mon, 15 May 2017 16:48:41 +0000 (10:48 -0600)
* readelf.c (display_arc_attribute): Avoid implicit fallthru.

binutils/ChangeLog
binutils/readelf.c

index 7222d9a1871e7ee2f682f5dad61076c4800cc0cd..675050bce70c1053e62729286345a33fa1671760 100644 (file)
@@ -1,3 +1,7 @@
+2017-05-15  Jeff Law  <law@redhat.com>
+
+       * readelf.c (display_arc_attribute): Avoid implicit fallthru.
+
 2017-05-15  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3'
index 7ff29bc8ba162d14147098dc8b231b7bf053a5ea..bb6bb79d4e0370f05593bed3fb1cfa090b604d65 100644 (file)
@@ -13586,10 +13586,11 @@ display_arc_attribute (unsigned char * p,
        {
        default:
          if (val > 0 && val < 16)
-           {
              printf ("Core%d\n", val);
-             break;
-           }
+         else
+             printf ("Unknown\n");
+         break;
+
        case 0:
          printf (_("Absent\n"));
          break;
This page took 0.031826 seconds and 4 git commands to generate.