mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
remove unused return value
This commit is contained in:
parent
aeafe4dbe7
commit
25f60f9456
2 changed files with 2 additions and 4 deletions
|
@ -141,7 +141,7 @@ const char *wire_type_name(int e UNNEEDED)
|
|||
/* AUTOGENERATED MOCKS END */
|
||||
|
||||
/* Updates existing route if required. */
|
||||
static struct half_chan *add_connection(struct routing_state *rstate,
|
||||
static void add_connection(struct routing_state *rstate,
|
||||
const struct pubkey *from,
|
||||
const struct pubkey *to,
|
||||
u32 base_fee, s32 proportional_fee,
|
||||
|
@ -161,7 +161,6 @@ static struct half_chan *add_connection(struct routing_state *rstate,
|
|||
c->proportional_fee = proportional_fee;
|
||||
c->delay = delay;
|
||||
c->flags = get_channel_direction(from, to);
|
||||
return c;
|
||||
}
|
||||
|
||||
static struct pubkey nodeid(size_t n)
|
||||
|
|
|
@ -103,7 +103,7 @@ const char *wire_type_name(int e UNNEEDED)
|
|||
/* AUTOGENERATED MOCKS END */
|
||||
|
||||
/* Updates existing route if required. */
|
||||
static struct half_chan *add_connection(struct routing_state *rstate,
|
||||
static void add_connection(struct routing_state *rstate,
|
||||
const struct pubkey *from,
|
||||
const struct pubkey *to,
|
||||
u32 base_fee, s32 proportional_fee,
|
||||
|
@ -128,7 +128,6 @@ static struct half_chan *add_connection(struct routing_state *rstate,
|
|||
c->proportional_fee = proportional_fee;
|
||||
c->delay = delay;
|
||||
c->flags = get_channel_direction(from, to);
|
||||
return c;
|
||||
}
|
||||
|
||||
/* Returns chan connecting from and to: *idx set to refer
|
||||
|
|
Loading…
Add table
Reference in a new issue