]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove incorrect "fall-through" comment
authorTom Tromey <tromey@adacore.com>
Mon, 4 Dec 2023 15:59:56 +0000 (08:59 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 4 Dec 2023 15:59:56 +0000 (08:59 -0700)
I found a "fall-through" comment in gdb/remote.c that was incorrect --
the code here cannot in fact fall through.

gdb/remote.c

index 8ccc1266073244ee9d90b8fd507f07f04a4cbae9..84daa8567b694cc47ef2b016e5d8a82567c6d270 100644 (file)
@@ -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 ());