mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-16 03:24:23 +01:00
Do not use potentially uninitialized value needed_dns
This commit is contained in:
committed by
Christian Decker
parent
4359f46ffd
commit
ba20ace064
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user