mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
check for null CQEs to silence clang-analyzer
This commit is contained in:
parent
4b2fefef8b
commit
64accde7bd
@ -230,6 +230,12 @@ void IOUringReader::monitorRing()
|
||||
break;
|
||||
}
|
||||
|
||||
if (!cqe)
|
||||
{
|
||||
LOG_ERROR(log, "Unexpectedly got a null CQE, continuing");
|
||||
continue;
|
||||
}
|
||||
|
||||
// it is safe to re-submit events once we take the lock here
|
||||
std::unique_lock lock{mutex};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user