mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-22 23:21:53 +03:00
Fixed unused variable warning.
This commit is contained in:
@ -101,8 +101,9 @@ int wsrep::mock_high_priority_service::apply_nbo_begin(
|
||||
const wsrep::const_buffer&,
|
||||
wsrep::mutable_buffer&)
|
||||
{
|
||||
const int nbo_begin_flags(wsrep::provider::flag::isolation |
|
||||
wsrep::provider::flag::start_transaction);
|
||||
const int nbo_begin_flags __attribute__((unused))
|
||||
(wsrep::provider::flag::isolation |
|
||||
wsrep::provider::flag::start_transaction);
|
||||
assert(ws_meta.flags() & nbo_begin_flags);
|
||||
assert((ws_meta.flags() & ~nbo_begin_flags) == 0);
|
||||
|
||||
|
Reference in New Issue
Block a user