From 8bd8be95f027b22a09724a48a3d8d9f2481e7f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 21 May 2017 20:20:37 +0200 Subject: NOISSUE fix a bunch of compiler warnings --- api/logic/minecraft/onesix/OneSixProfileStrategy.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'api/logic/minecraft/onesix') diff --git a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp index 0b83c2e1..ef2a7294 100644 --- a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp +++ b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp @@ -158,7 +158,6 @@ void OneSixProfileStrategy::loadUserPatches() // now add all the patches by user sort order ProfileUtils::PatchOrder userOrder; ProfileUtils::readOverrideOrders(FS::PathCombine(m_instance->instanceRoot(), "order.json"), userOrder); - bool orderIsDirty = false; for (auto uid : userOrder) { // ignore builtins @@ -169,7 +168,6 @@ void OneSixProfileStrategy::loadUserPatches() // ordering has a patch that is gone? if(!loadedPatches.contains(uid)) { - orderIsDirty = true; continue; } profile->appendPatch(loadedPatches.take(uid)); -- cgit v1.2.3