[svn] It's not necessary to initialize RES.

This commit is contained in:
hniksic 2003-11-19 16:42:21 -08:00
parent bbcdd71484
commit 51b0fdbace
1 changed files with 1 additions and 1 deletions

View File

@ -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);