Supress PVS

This commit is contained in:
alesapin 2021-06-22 18:50:25 +03:00
parent f3512f15d5
commit a92bd49229

View File

@ -442,7 +442,7 @@ bool hasErrorsInMultiRequest(Coordination::ZooKeeperRequestPtr request)
if (request == nullptr)
return true;
for (const auto & subrequest : dynamic_cast<Coordination::ZooKeeperMultiRequest *>(request.get())->requests)
for (const auto & subrequest : dynamic_cast<Coordination::ZooKeeperMultiRequest *>(request.get())->requests) //-V522
if (subrequest == nullptr)
return true;
return false;