aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-05 19:57:29 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-11 21:08:44 +0200
commitd1b5cf830bfe169745721b21245d2217d2c2453e (patch)
tree3f230490e3ba67789b84f94aebac29370b81092f /lib/vtls
parentbb0b10135caf58f82ee9e9d38f400880a7e5c9cc (diff)
build: fix Codacy/CppCheck warnings
- remove unused variables - declare conditionally used variables conditionally - suppress unused variable warnings in the CMake tests - remove dead variable stores - consistently use WIN32 macro to detect Windows Closes https://github.com/curl/curl/pull/3739
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/gskit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c
index c4afc8904..0498bf05f 100644
--- a/lib/vtls/gskit.c
+++ b/lib/vtls/gskit.c
@@ -1160,7 +1160,6 @@ static CURLcode gskit_connect_common(struct connectdata *conn, int sockindex,
struct Curl_easy *data = conn->data;
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
long timeout_ms;
- Qso_OverlappedIO_t cstat;
CURLcode result = CURLE_OK;
*done = connssl->state == ssl_connection_complete;