mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
plugins/pay: add comment on why we don't use an empty string
plugins/pay.c:879:7: error: zero-length gnu_printf format string [-Werror=format-zero-length] Reported-by: @cdecker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
4122f955c1
commit
7c0863f785
1 changed files with 1 additions and 0 deletions
|
@ -876,6 +876,7 @@ static struct command_result *handle_pay(struct command *cmd,
|
|||
|
||||
/* Get capacities of local channels. */
|
||||
return send_outreq(cmd, "listpeers", listpeers_done, forward_error, pc,
|
||||
/* gcc doesn't like zero-length format strings! */
|
||||
" ");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue