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
@@ -210,6 +210,7 @@ bool ZMQReader::connect(const std::string& address, bool keep_monitor)
}
char buf[64];
// cppcheck-suppress uninitvar
log::Stream s(buf);
s << "inproc://p2pool-connect-mon-" << id << '\0';
++id;