mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
Mark intentionally unused parameters as such (with "UNUSED")
This commit is contained in:
committed by
Rusty Russell
parent
3dbace3421
commit
91a9c2923f
@@ -115,7 +115,7 @@ static char *bcli_args(struct bitcoin_cli *bcli)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void bcli_finished(struct io_conn *conn, struct bitcoin_cli *bcli)
|
||||
static void bcli_finished(struct io_conn *conn UNUSED, struct bitcoin_cli *bcli)
|
||||
{
|
||||
int ret, status;
|
||||
struct bitcoind *bitcoind = bcli->bitcoind;
|
||||
@@ -202,7 +202,7 @@ static void next_bcli(struct bitcoind *bitcoind)
|
||||
io_set_finish(conn, bcli_finished, bcli);
|
||||
}
|
||||
|
||||
static void process_donothing(struct bitcoin_cli *bcli)
|
||||
static void process_donothing(struct bitcoin_cli *bcli UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user