Commit bcb49750 authored by Nikita Malyavin's avatar Nikita Malyavin

fix -Werror build

parent 8b0101a8
......@@ -493,7 +493,8 @@ class Cache_flip_event_log: public Event_log {
void acquire()
{
auto prev= ref_count.fetch_add(1);
IF_DBUG(auto prev= ,)
ref_count.fetch_add(1);
DBUG_ASSERT(prev != 0);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment