mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
gossipd: fix compile error, uninitialized variable
Seems to be a problem with gcc 6.4+? Fixes #1527 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
85e02127a9
commit
d7aa0528b8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ static void negotiate_auth(struct rbuf *rbuf, const char *tor_password)
|
|||
{
|
||||
char *line;
|
||||
char *cookiefile = NULL;
|
||||
int cookiefileerrno;
|
||||
int cookiefileerrno = 0;
|
||||
|
||||
tor_send_cmd(rbuf, "PROTOCOLINFO 1");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue