aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-12-10 00:06:10 +0100
committerDan Fandrich <dan@coneharvesters.com>2014-12-10 00:06:10 +0100
commitf768be0a2525dba234bfd002afe9595ba3b84958 (patch)
tree6db1e84107d7e273db5764f724004ecda9591bb6
parent41f1f6e830b56c35e9b545019b43a5b2889d115b (diff)
sws.c: Fixed 'rc' may be used uninitialized warning
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
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 = "";