[pushed] Remove incorrect "fall-through" comment

Message ID 20231204160041.3824884-1-tromey@adacore.com
State New
Headers
Series [pushed] Remove incorrect "fall-through" comment |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Tom Tromey Dec. 4, 2023, 4 p.m. UTC
  I found a "fall-through" comment in gdb/remote.c that was incorrect --
the code here cannot in fact fall through.
---
 gdb/remote.c | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/gdb/remote.c b/gdb/remote.c
index 8ccc1266073..84daa8567b6 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 ());