summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-21 20:20:37 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-21 20:20:37 +0200
commit8bd8be95f027b22a09724a48a3d8d9f2481e7f95 (patch)
tree1b0af581d904e3fbaaf3cf9493f1f8b038e83cec /api/logic/minecraft/onesix/OneSixProfileStrategy.cpp
parent572a6026b57804cd8e9c3a4ccf4dcb1d198b46c7 (diff)
downloadMultiMC-8bd8be95f027b22a09724a48a3d8d9f2481e7f95.tar
MultiMC-8bd8be95f027b22a09724a48a3d8d9f2481e7f95.tar.gz
MultiMC-8bd8be95f027b22a09724a48a3d8d9f2481e7f95.tar.lz
MultiMC-8bd8be95f027b22a09724a48a3d8d9f2481e7f95.tar.xz
MultiMC-8bd8be95f027b22a09724a48a3d8d9f2481e7f95.zip
NOISSUE fix a bunch of compiler warnings
Diffstat (limited to 'api/logic/minecraft/onesix/OneSixProfileStrategy.cpp')
-rw-r--r--api/logic/minecraft/onesix/OneSixProfileStrategy.cpp2
1 files changed, 0 insertions, 2 deletions
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));