From f768be0a2525dba234bfd002afe9595ba3b84958 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 10 Dec 2014 00:06:10 +0100 Subject: sws.c: Fixed 'rc' may be used uninitialized warning --- tests/server/sws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/server/sws.c b/tests/server/sws.c index 324ec2359..24bfdebe9 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -1301,7 +1301,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port) srvr_sockaddr_union_t serveraddr; curl_socket_t serverfd; int error; - int rc; + int rc = 0; const char *op_br = ""; const char *cl_br = ""; -- cgit v1.2.3