From ba20ace064210748ea156ddb15d3d426ad9a4a5d Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 15 May 2018 12:19:59 +0200 Subject: [PATCH] Do not use potentially uninitialized value needed_dns --- lightningd/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/options.c b/lightningd/options.c index 85848775e..1f08669ae 100644 --- a/lightningd/options.c +++ b/lightningd/options.c @@ -299,7 +299,7 @@ static char *opt_set_offline(struct lightningd *ld) static char *opt_add_proxy_addr(const char *arg, struct lightningd *ld) { - bool needed_dns; + bool needed_dns = false; tal_free(ld->proxyaddr); /* We use a tal_arr here, so we can marshal it to gossipd */