From 0ac5e9306552e4de1321d6875a615e0e32224131 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 21 Feb 2018 17:03:52 +0100 Subject: [PATCH] Remove unused parameters a_sent and b_sent in draw_restart(.., struct sent **a_sent, struct sent **b_sent, ...) --- test/test_protocol.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_protocol.c b/test/test_protocol.c index 664eb6983..5e3e02f81 100644 --- a/test/test_protocol.c +++ b/test/test_protocol.c @@ -1069,7 +1069,6 @@ static void add_sent(struct sent **sent, int y, const char *msg) } static void draw_restart(char **str, const char *name, - struct sent **a_sent, struct sent **b_sent, int *y) { *y += STEP_HEIGHT / 2; @@ -1353,7 +1352,7 @@ int main(int argc, char *argv[]) if (svg) draw_restart(&svg, "RESTART", - &a_sent, &b_sent, &y); + &y); write_to_client("A", acmd[1], "save", strlen("save")+1); write_to_client("B", bcmd[1], "save", strlen("save")+1); @@ -1387,7 +1386,7 @@ int main(int argc, char *argv[]) if (svg) draw_restart(&svg, "RESTART END", - &a_sent, &b_sent, &y); + &y); continue; } else if (strstarts(cmd, "#") || streq(cmd, "")) continue;