From 51b0fdbace6df478be3b18d8f1df789d15f13e44 Mon Sep 17 00:00:00 2001 From: hniksic Date: Wed, 19 Nov 2003 16:42:21 -0800 Subject: [PATCH] [svn] It's not necessary to initialize RES. --- src/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connect.c b/src/connect.c index 35e4cfdc..b8e729b4 100644 --- a/src/connect.c +++ b/src/connect.c @@ -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); -- 2.39.2