mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
fix unused variable errors
This commit is contained in:
parent
cd4549aff7
commit
5bc7c26d9b
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
|||
#ifdef ARDOURCURLDEBUG
|
||||
#define CCERR(msg) do { if (cc != CURLE_OK) { std::cerr << string_compose ("curl_easy_setopt(%1) failed: %2", msg, cc) << std::endl; } } while (0)
|
||||
#else
|
||||
#define CCERR(msg)
|
||||
#define CCERR(msg) do { (void) cc; } while (0)
|
||||
#endif
|
||||
|
||||
using namespace ArdourCurl;
|
||||
|
|
@ -173,7 +173,7 @@ HttpGet::HttpGet (bool p, bool ssl)
|
|||
cc = curl_easy_setopt (_curl, CURLOPT_TIMEOUT, ARDOUR_CURL_TIMEOUT); CCERR ("CURLOPT_TIMEOUT");
|
||||
cc = curl_easy_setopt (_curl, CURLOPT_NOSIGNAL, 1); CCERR ("CURLOPT_NOSIGNAL");
|
||||
cc = curl_easy_setopt (_curl, CURLOPT_ERRORBUFFER, error_buffer); CCERR ("CURLOPT_ERRORBUFFER");
|
||||
// cc= curl_easy_setopt (_curl, CURLOPT_FOLLOWLOCATION, 1); CCERR ("CURLOPT_FOLLOWLOCATION");
|
||||
// cc = curl_easy_setopt (_curl, CURLOPT_FOLLOWLOCATION, 1); CCERR ("CURLOPT_FOLLOWLOCATION");
|
||||
|
||||
// by default use curl's default.
|
||||
if (ssl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue