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:
Rusty Russell
2019-08-01 11:09:17 +09:30
committed by Christian Decker
parent 79345cc0b9
commit 359433f374

View File

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