Fixed cppcheck errors

This commit is contained in:
SChernykh
2023-12-23 11:22:03 +01:00
parent bc36be1e58
commit f98d2e652a
5 changed files with 8 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ SideChain::SideChain(p2pool* pool, NetworkType type, const char* pool_name)
LOGINFO(1, "generating consensus ID");
char buf[log::Stream::BUF_SIZE + 1];
// cppcheck-suppress uninitvar
log::Stream s(buf);
s << s_networkType << '\0'