mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-10 16:44:19 +01:00
lightningd: convert the compiler-wanted-init FIXME.
I'm sure there are others, but this was the only one which showed up in grep. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
79345cc0b9
commit
359433f374
@@ -1223,8 +1223,7 @@ static struct command_result *json_close(struct command *cmd,
|
||||
{
|
||||
const jsmntok_t *idtok;
|
||||
struct peer *peer;
|
||||
/* FIXME: gcc 7.3.0 thinks this might not be initialized. */
|
||||
struct channel *channel = NULL;
|
||||
struct channel *channel COMPILER_WANTS_INIT("gcc 7.3.0 fails, 8.3 OK");
|
||||
unsigned int *timeout;
|
||||
bool *force;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user