From: Tom Tromey Date: Mon, 4 Dec 2023 15:23:34 +0000 (-0700) Subject: Update fall-through comment in gdbserver X-Git-Tag: binutils-2_42~734 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74bbf9359a742233e4eae7a26b5f34e8ea68e642;p=thirdparty%2Fbinutils-gdb.git Update fall-through comment in gdbserver I noticed that gdbserver/win32-low.cc has a fall-through comment that should have been converted to use the annotation instead. This patch makes the change. --- diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc index 9c0a8856ca7..2711fb335f6 100644 --- a/gdbserver/win32-low.cc +++ b/gdbserver/win32-low.cc @@ -1237,7 +1237,7 @@ win32_process_target::wait (ptid_t ptid, target_waitstatus *ourstatus, default: OUTMSG (("Ignoring unknown internal event, %d\n", ourstatus->kind ())); - /* fall-through */ + [[fallthrough]]; case TARGET_WAITKIND_SPURIOUS: /* do nothing, just continue */ child_continue (continue_status,