Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: fix compile error in peer_control
Error on gcc 7.3.0: lightningd/peer_control.c: In function ‘json_close’: lightningd/peer_control.c:955:3: error: ‘channel’ may be used uninitialized in this function [-Werror=maybe-uninitialized] channel_set_state(channel, ^~~~~~~~~~~~~~~~~~~~~~~~~~ channel->state, CHANNELD_SHUTTING_DOWN); Signed-off-by: William Casarin <[email protected]>
- Loading branch information