1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Silence unused variable warning

This commit is contained in:
Teemu Ollakka
2021-12-15 16:37:45 +02:00
parent f7c8c22ad3
commit 5754f2a0a0

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);
}