Fix build

This commit is contained in:
Amos Bird 2021-10-19 23:35:59 +08:00
parent 0b3926950d
commit aa8bc93be8
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -1895,7 +1895,7 @@ void Context::setSystemZooKeeperLogAfterInitializationIfNeeded()
zk.second->setZooKeeperLog(shared->system_logs->zookeeper_log);
}
void Context::initializeKeeperDispatcher(bool start_async) const
void Context::initializeKeeperDispatcher([[maybe_unused]] bool start_async) const
{
#if USE_NURAFT
std::lock_guard lock(shared->keeper_storage_dispatcher_mutex);