• Marko Mäkelä's avatar
    Fix g++-12 -O2 -Wstringop-overflow · e9e6db93
    Marko Mäkelä authored
    buf_pool_t::watch_unset(): Reorder some code so that
    no warning will be emitted in CMAKE_BUILD_TYPE=RelWithDebInfo.
    It is unclear why invoking watch_is_sentinel() before accessing
    the block descriptor state would make the warning disappear.
    e9e6db93
buf0buf.cc 123 KB