From 3cd95eacdfe8948fab9a129bf911f41742aa7cbf Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 21 Oct 2006 12:35:16 +0000 Subject: Compiler warning fix --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sendf.c') diff --git a/lib/sendf.c b/lib/sendf.c index e289e2046..934fad1bb 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -273,7 +273,7 @@ CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *conn, struct SessionHandle *data = conn->data; ssize_t bytes_written; size_t write_len; - CURLcode res; + CURLcode res = CURLE_OK; char *s; char *sptr; va_list ap; -- cgit v1.2.3