Make sure to initialize counterUncData

This commit is contained in:
Nikolaj Schlej 2025-02-21 12:15:01 +07:00
parent b1ad055eef
commit 8d7e01c027

View file

@ -39,7 +39,7 @@ public:
static const UINT8 IgnoreSectionType = 0xFF; static const UINT8 IgnoreSectionType = 0xFF;
explicit FfsDumper(TreeModel * treeModel) : model(treeModel), dumped(false), explicit FfsDumper(TreeModel * treeModel) : model(treeModel), dumped(false),
counterHeader(0), counterBody(0), counterRaw(0), counterInfo(0) {} counterHeader(0), counterBody(0), counterUncData(0), counterRaw(0), counterInfo(0) {}
~FfsDumper() {}; ~FfsDumper() {};
USTATUS dump(const UModelIndex & root, const UString & path, const DumpMode dumpMode = DUMP_CURRENT, const UINT8 sectionType = IgnoreSectionType, const UString & guid = UString()); USTATUS dump(const UModelIndex & root, const UString & path, const DumpMode dumpMode = DUMP_CURRENT, const UINT8 sectionType = IgnoreSectionType, const UString & guid = UString());