mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Refs codership/wsrep-lib#18 Fix compile warning
Fixes unused parameter `view` in server_state::go_final() when compiled without assert()s.
This commit is contained in:
@ -638,6 +638,7 @@ void wsrep::server_state::go_final(wsrep::unique_lock<wsrep::mutex>& lock,
|
||||
const wsrep::view& view,
|
||||
wsrep::high_priority_service* hps)
|
||||
{
|
||||
(void)view; // avoid compiler warning "unused parameter 'view'"
|
||||
assert(view.final());
|
||||
assert(hps);
|
||||
if (hps)
|
||||
|
Reference in New Issue
Block a user