yhirose 1 year ago
parent
commit
b85768c1f3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      httplib.h

+ 1 - 0
httplib.h

@@ -8908,6 +8908,7 @@ inline void ssl_delete(std::mutex &ctx_mutex, SSL *ssl, socket_t sock,
   // best-efforts.
   if (shutdown_gracefully) {
 #ifdef _WIN32
+    (void)(sock);
     SSL_shutdown(ssl);
 #else
     timeval tv;