]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/printcmd.c
Use C++17 [[fallthrough]] attribute
[thirdparty/binutils-gdb.git] / gdb / printcmd.c
index 98f38b2598d85393f30fb3c70e23518e4e9d8234..27a4eb3eec6303d080b31014573bc1d3bff38c55 100644 (file)
@@ -482,7 +482,7 @@ print_scalar_formatted (const gdb_byte *valaddr, struct type *type,
                               byte_order);
          break;
        }
-      /* FALLTHROUGH */
+      [[fallthrough]];
     case 'f':
       print_floating (valaddr, type, stream);
       break;