mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:23:32 +03:00
fix compiler warnings for SSL-disabled builds
This commit is contained in:
parent
1c0224be42
commit
2b280bcc69
2 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue