From cab90e9ac63c4ba9fd0e0b204e1565eea4e46203 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Thu, 25 May 2023 16:59:53 -0700 Subject: [PATCH] Removed unused variable. --- soh/soh/Enhancements/gameplaystats.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/soh/soh/Enhancements/gameplaystats.cpp b/soh/soh/Enhancements/gameplaystats.cpp index eb1726dad..032c4197b 100644 --- a/soh/soh/Enhancements/gameplaystats.cpp +++ b/soh/soh/Enhancements/gameplaystats.cpp @@ -297,7 +297,6 @@ void LoadStatsVersion1() { SaveManager::Instance->LoadArray("itemTimestamps", ARRAY_COUNT(gSaveContext.sohStats.itemTimestamp), [](size_t i) { SaveManager::Instance->LoadData("", gSaveContext.sohStats.itemTimestamp[i]); }); - uint32_t sceneTimestampCount = 0; SaveManager::Instance->LoadArray("sceneTimestamps", ARRAY_COUNT(gSaveContext.sohStats.sceneTimestamps), [&](size_t i) { SaveManager::Instance->LoadStruct("", [&]() { int scene, room, sceneTime, roomTime, isRoom; @@ -314,7 +313,6 @@ void LoadStatsVersion1() { gSaveContext.sohStats.sceneTimestamps[i].sceneTime = sceneTime; gSaveContext.sohStats.sceneTimestamps[i].roomTime = roomTime; gSaveContext.sohStats.sceneTimestamps[i].isRoom = isRoom; - sceneTimestampCount++; }); }); SaveManager::Instance->LoadData("tsIdx", gSaveContext.sohStats.tsIdx);