aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-12-04 08:59:56 -0700
committerTom Tromey <tromey@adacore.com>2023-12-04 08:59:56 -0700
commit86b775c51597816dcab29dd37522b505d043dc51 (patch)
treed1b26fda2f0ca10004421ab62ff7754dabb32e39 /gdb
parent74bbf9359a742233e4eae7a26b5f34e8ea68e642 (diff)
downloadgdb-86b775c51597816dcab29dd37522b505d043dc51.zip
gdb-86b775c51597816dcab29dd37522b505d043dc51.tar.gz
gdb-86b775c51597816dcab29dd37522b505d043dc51.tar.bz2
Remove incorrect "fall-through" comment
I found a "fall-through" comment in gdb/remote.c that was incorrect -- the code here cannot in fact fall through.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/remote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 8ccc126..84daa85 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10044,7 +10044,6 @@ remote_target::putpkt_binary (const char *buf, int cnt)
rs->buf.data ());
continue;
}
- /* fall-through */
default:
remote_debug_printf_nofunc ("Junk: %c%s", ch & 0177,
rs->buf.data ());