Fix Coverity issue, preinit with 0:
uninit_member: Non-static class member chunk_count is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit
ea02dc37dc92613d2d35b9572e72c3b9ab6bbb69)
vector<Step> ruleset_steps;
ErasureCodeLrc() :
- data_chunk_count(0), ruleset_root("default")
+ chunk_count(0), data_chunk_count(0), ruleset_root("default")
{
ruleset_steps.push_back(Step("chooseleaf", "host", 0));
}