static void init(CURL *curl, const std::string& url)
{
+ (void)curl;
+ (void)url;
if (HAVE_LIBCURL)
{
#if defined(HAVE_LIBCURL) && HAVE_LIBCURL
curl_easy_cleanup(curl);
- return retref == CURLE_OK;
+ return bool(retref == CURLE_OK);
#endif
}
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, _response);
curl_easy_cleanup(curl);
+
+ return bool(retref == CURLE_OK);
#endif
}