Updated cppcheck workflow on Linux
This commit is contained in:
@@ -151,6 +151,7 @@ void P2PServer::clear_cached_blocks()
|
||||
|
||||
WriteLock lock(m_cachedBlocksLock);
|
||||
|
||||
// cppcheck-suppress identicalConditionAfterEarlyExit
|
||||
if (!m_cachedBlocks) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user