Browse Source

Do not use potentially uninitialized value needed_dns

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
ba20ace064
  1. 2
      lightningd/options.c

2
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 */

Loading…
Cancel
Save