Navigation Menu

Skip to content

Commit

Permalink
plugins/pay: add comment on why we don't use an empty string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rustyrussell committed Jan 16, 2019
1 parent f3e3489 commit f0ac0da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/pay.c
Expand Up @@ -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! */
" ");
}

Expand Down

0 comments on commit f0ac0da

Please sign in to comment.