suppress unused variables

This commit is contained in:
Lion Kortlepel
2020-12-24 00:42:39 +01:00
parent 639c94e0f2
commit 04cf7ca092
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ int main(int argc, char* argv[]) {
#endif // WIN32
DebugPrintTID();
// curl needs to be initialized to properly deallocate its resources later
auto ret = curl_global_init(CURL_GLOBAL_DEFAULT);
[[maybe_unused]] auto ret = curl_global_init(CURL_GLOBAL_DEFAULT);
Assert(ret == CURLE_OK);
#ifdef DEBUG
std::thread t1(loop);