mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 15:48:06 -05:00
uxnet.c: initialize atmark variable
GCC 5 does not trace control flow graph and claims that the variable may be used uninitialized. GCC 7 does not have this bug though.
This commit is contained in:
parent
c5895ec292
commit
80db674648
@ -1268,7 +1268,7 @@ static void net_select_result(int fd, int event)
|
||||
int ret;
|
||||
char buf[20480]; /* nice big buffer for plenty of speed */
|
||||
NetSocket *s;
|
||||
bool atmark;
|
||||
bool atmark = true;
|
||||
|
||||
/* Find the Socket structure */
|
||||
s = find234(sktree, &fd, cmpforsearch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user