Added cppcheck workflow

This commit is contained in:
SChernykh
2021-09-05 12:51:20 +02:00
parent abf5918da9
commit 4deef2f807
6 changed files with 37 additions and 1 deletions
+1
View File
@@ -129,6 +129,7 @@ void p2pool_api::dump_to_file()
}
for (auto& it : data) {
// cppcheck-suppress uninitvar
DumpFileWork* work = new DumpFileWork{ {}, {}, {}, it.first, std::move(it.second) };
work->open_req.data = work;
work->write_req.data = work;