1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-11-06 04:09:01 +03:00

Silence unused variable warning

This commit is contained in:
Teemu Ollakka
2021-12-15 16:37:45 +02:00
parent 4b8616f3d1
commit 6d0b37daaf

View File

@@ -258,7 +258,7 @@ namespace wsrep
return std::unique_ptr<wsrep::provider>(provider_);
});
const int ret = load_provider("mock", "");
const int ret WSREP_UNUSED = load_provider("mock", "");
assert(ret == 0);
assert(provider_ != nullptr);
}