Added cppcheck workflow
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user