Fixed cppcheck errors

This commit is contained in:
SChernykh
2023-12-23 11:22:03 +01:00
parent 1d4aa3478d
commit df2a81d76d
6 changed files with 9 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 << "mm" << '\0'