mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
Do not use potentially uninitialized value needed_dns
This commit is contained in:
parent
4359f46ffd
commit
ba20ace064
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue