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
@@ -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;