mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] It's not necessary to initialize RES.
This commit is contained in:
parent
bbcdd71484
commit
51b0fdbace
@ -722,7 +722,7 @@ sock_read (int fd, char *buf, int bufsize)
|
||||
static int
|
||||
sock_write (int fd, char *buf, int bufsize)
|
||||
{
|
||||
int res = 0;
|
||||
int res;
|
||||
do
|
||||
res = write (fd, buf, bufsize);
|
||||
while (res == -1 && errno == EINTR);
|
||||
|
Loading…
Reference in New Issue
Block a user