diff options
Diffstat (limited to 'logic/minecraft')
-rw-r--r-- | logic/minecraft/InstanceVersion.cpp | 1 | ||||
-rw-r--r-- | logic/minecraft/MinecraftVersionList.cpp | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/logic/minecraft/InstanceVersion.cpp b/logic/minecraft/InstanceVersion.cpp index baf34404..ca0e3796 100644 --- a/logic/minecraft/InstanceVersion.cpp +++ b/logic/minecraft/InstanceVersion.cpp @@ -357,7 +357,6 @@ int InstanceVersion::columnCount(const QModelIndex &parent) const void InstanceVersion::saveCurrentOrder() const { PatchOrder order; - int index = 0; for(auto item: VersionPatches) { if(!item->isMoveable()) diff --git a/logic/minecraft/MinecraftVersionList.cpp b/logic/minecraft/MinecraftVersionList.cpp index b561606b..3aa1ac01 100644 --- a/logic/minecraft/MinecraftVersionList.cpp +++ b/logic/minecraft/MinecraftVersionList.cpp @@ -213,8 +213,6 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s QList<BaseVersionPtr> tempList; for (auto version : versions) { - bool is_snapshot = false; - // Load the version info. if (!version.isObject()) { @@ -274,19 +272,15 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s // OneSix or Legacy. use filter to determine type if (versionTypeStr == "release") { - is_snapshot = false; } else if (versionTypeStr == "snapshot") // It's a snapshot... yay { - is_snapshot = true; } else if (versionTypeStr == "old_alpha") { - is_snapshot = false; } else if (versionTypeStr == "old_beta") { - is_snapshot = false; } else { |