diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2012-09-11 11:48:27 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2012-09-11 11:48:27 +0200 |
commit | 6372144be0aef3bb8aac5561941d986e1129f5ee (patch) | |
tree | 05ba32699199e944659538b272f2504fd6697940 | |
parent | ef753b710b95f1f94a7c55f5d481615e30879aa6 (diff) |
sws.c: Fixed warning: 'err' may be used uninitialized in this function
-rw-r--r-- | tests/server/sws.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index af867bdb3..291027481 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -1456,7 +1456,7 @@ static void http_connect(curl_socket_t *infdp, curl_socket_t datafd = accept(rootfd, NULL, NULL); if(datafd != CURL_SOCKET_BAD) { struct httprequest req2; - int err; + int err = 0; memset(&req2, 0, sizeof(req2)); logmsg("====> Client connect DATA"); #ifdef TCP_NODELAY |