Mark unused parameters as such (using "UNUSED")

This commit is contained in:
practicalswift
2018-03-05 17:40:50 +01:00
committed by Rusty Russell
parent 20ae038080
commit 03e2e404f2
5 changed files with 13 additions and 13 deletions

View File

@@ -112,7 +112,7 @@ static void peer_closing_complete(struct channel *channel, const u8 *msg)
channel_set_state(channel, CLOSINGD_SIGEXCHANGE, CLOSINGD_COMPLETE);
}
static unsigned closing_msg(struct subd *sd, const u8 *msg, const int *fds)
static unsigned closing_msg(struct subd *sd, const u8 *msg, const int *fds UNUSED)
{
enum closing_wire_type t = fromwire_peektype(msg);