1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 21:15:08 -05:00

prevent compiler warning when built without engine support

This commit is contained in:
Daniel Stenberg 2004-12-14 22:06:25 +00:00
parent dc28a9c0c1
commit 553082e24a

View File

@ -534,6 +534,7 @@ CURLcode Curl_SSL_set_engine(struct SessionHandle *data, const char *engine)
data->state.engine = e; data->state.engine = e;
return (CURLE_OK); return (CURLE_OK);
#else #else
(void)engine;
failf(data, "SSL Engine not supported"); failf(data, "SSL Engine not supported");
return (CURLE_SSL_ENGINE_NOTFOUND); return (CURLE_SSL_ENGINE_NOTFOUND);
#endif #endif