Skip to content
Snippets Groups Projects
Commit 2b280bcc authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fix compiler warnings for SSL-disabled builds

parent 1c0224be
No related branches found
No related tags found
No related merge requests found
......@@ -609,6 +609,9 @@ bool Curl_ssl_data_pending(struct connectdata *conn,
if(conn->ssl[connindex].handle)
/* SSL is in use */
return SSL_pending(conn->ssl[connindex].handle);
#else
(void)conn;
(void)connindex;
#endif
return FALSE; /* nothing pending */
......
......@@ -77,7 +77,6 @@ bool Curl_ssl_data_pending(struct connectdata *conn,
#if !defined(USE_SSL) && !defined(SSLGEN_C)
/* set up blank macros for none-SSL builds */
#define Curl_ssl_close_all(x)
#define Curl_ssl_data_pending(x,y) 0
#endif
#define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment