better fix for CURL debugging unused variable warning

This commit is contained in:
Paul Davis 2022-06-21 17:36:26 -06:00
parent ae9c11fb01
commit 02b77ca88a
1 changed files with 1 additions and 1 deletions

View File

@ -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) do { (void) cc; } while (0)
#define CCERR(msg) (void) cc;
#endif
using namespace ArdourCurl;