Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix maybe-uninitialized error on some gcc versions
on gcc (GCC) 7.4.0 devtools/create-gossipstore.c: In function ‘main’: devtools/create-gossipstore.c:107:9: error: ‘infd’ may be used uninitialized .. while (read_all(infd, &be_inlen, sizeof(be_inlen))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: William Casarin <[email protected]>
- Loading branch information