Skip to content

Commit

Permalink
gossipd: fix compile error, uninitialized variable
Browse files Browse the repository at this point in the history
Seems to be a problem with gcc 6.4+?

Fixes ElementsProject#1527

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 authored and rustyrussell committed Jun 20, 2018
1 parent 85e0212 commit d7aa052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossipd/tor_autoservice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit d7aa052

Please sign in to comment.