From e6c68b606d02505bed6adfbbf8225edb84479723 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 2 Jan 2019 11:19:49 +1030 Subject: [PATCH] lightningd: add comment on why we have "useless" initialization. Signed-off-by: Rusty Russell --- lightningd/peer_control.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index bdf27ff27..ae40149ba 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -901,6 +901,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; unsigned int *timeout; bool *force;