mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
check-bolt: make it compile cleanly with -Wextra.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
6fe5ecb2ac
commit
8a98ca8264
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ static struct bolt_file *find_bolt(const char *bolt_prefix,
|
||||||
struct bolt_file *bolts)
|
struct bolt_file *bolts)
|
||||||
{
|
{
|
||||||
size_t i, n = tal_count(bolts);
|
size_t i, n = tal_count(bolts);
|
||||||
size_t boltnum;
|
int boltnum;
|
||||||
|
|
||||||
for (i = 0; i < n; i++)
|
for (i = 0; i < n; i++)
|
||||||
if (streq(bolts[i].prefix, bolt_prefix))
|
if (streq(bolts[i].prefix, bolt_prefix))
|
||||||
|
|
Loading…
Add table
Reference in a new issue