mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
Remove unused parameters a_sent and b_sent in draw_restart(.., struct sent **a_sent, struct sent **b_sent, ...)
This commit is contained in:
committed by
Christian Decker
parent
2e7791f798
commit
0ac5e93065
@@ -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,
|
static void draw_restart(char **str, const char *name,
|
||||||
struct sent **a_sent, struct sent **b_sent,
|
|
||||||
int *y)
|
int *y)
|
||||||
{
|
{
|
||||||
*y += STEP_HEIGHT / 2;
|
*y += STEP_HEIGHT / 2;
|
||||||
@@ -1353,7 +1352,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (svg)
|
if (svg)
|
||||||
draw_restart(&svg, "RESTART",
|
draw_restart(&svg, "RESTART",
|
||||||
&a_sent, &b_sent, &y);
|
&y);
|
||||||
|
|
||||||
write_to_client("A", acmd[1], "save", strlen("save")+1);
|
write_to_client("A", acmd[1], "save", strlen("save")+1);
|
||||||
write_to_client("B", bcmd[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)
|
if (svg)
|
||||||
draw_restart(&svg, "RESTART END",
|
draw_restart(&svg, "RESTART END",
|
||||||
&a_sent, &b_sent, &y);
|
&y);
|
||||||
continue;
|
continue;
|
||||||
} else if (strstarts(cmd, "#") || streq(cmd, ""))
|
} else if (strstarts(cmd, "#") || streq(cmd, ""))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user