Browse Source

remove unused return value

ppa-0.6.1
arowser 7 years ago
committed by Rusty Russell
parent
commit
25f60f9456
  1. 3
      gossipd/test/run-bench-find_route.c
  2. 3
      gossipd/test/run-find_route.c

3
gossipd/test/run-bench-find_route.c

@ -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)

3
gossipd/test/run-find_route.c

@ -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…
Cancel
Save