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:
@ -258,7 +258,7 @@ namespace wsrep
|
|||||||
return std::unique_ptr<wsrep::provider>(provider_);
|
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(ret == 0);
|
||||||
assert(provider_ != nullptr);
|
assert(provider_ != nullptr);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user