From 726ff528a3ab66afde92b5b6e70a96f168fee041 Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Fri, 4 Jun 2021 12:52:38 -0400 Subject: Optimize RAM usage and performance by removing redundant `rawData` (#148) * Remove rawData from ZResource * Remove dlistRawData and some leftovers extra params * Run format * Unused variable warning --- ZAPD/ZArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ZAPD/ZArray.cpp') diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp index 3194eac..e904c99 100644 --- a/ZAPD/ZArray.cpp +++ b/ZAPD/ZArray.cpp @@ -46,7 +46,7 @@ void ZArray::ParseXML(tinyxml2::XMLElement* reader) } res->parent = parent; res->SetInnerNode(true); - res->ExtractFromXML(child, rawData, childIndex); + res->ExtractFromXML(child, childIndex); childIndex += res->GetRawDataSize(); resList.push_back(res); -- cgit v1.2.3