[PATCH] winedbg: Remove unused packet_reply_cat.

Gerald Pfeifer gerald at pfeifer.com
Sun Nov 18 07:57:52 CST 2018


Confirmed by inspecting the output of
  grep packet_reply_cat gdbproxy.c | grep -v packet_reply_catc
which only has this one hit, and since it's static I cannot have
escaped.

Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
 programs/winedbg/gdbproxy.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index 025cb38131..0a897f24c2 100644
--- a/programs/winedbg/gdbproxy.c
+++ b/programs/winedbg/gdbproxy.c
@@ -740,11 +740,6 @@ static inline void packet_reply_add(struct gdb_context* gdbctx, const char* str,
     gdbctx->out_len += len;
 }
 
-static inline void packet_reply_cat(struct gdb_context* gdbctx, const char* str)
-{
-    packet_reply_add(gdbctx, str, strlen(str));
-}
-
 static inline void packet_reply_catc(struct gdb_context* gdbctx, char ch)
 {
     packet_reply_add(gdbctx, &ch, 1);
-- 
2.17.0



More information about the wine-devel mailing list