diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-01 16:34:51 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-01 16:34:51 +0100 |
commit | f56eff04ef4d23b62a6e095eca5d4b9f2b52e023 (patch) | |
tree | d7e5ccd335f4be09d11d3d6bb9c333fa6945516c /logic/lists/InstanceList.cpp | |
parent | a3fbf05c7b77d513b107e34732b2d04045a05c3c (diff) | |
download | MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.gz MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.lz MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.xz MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.zip |
Fix (hopefully) library dependency resolution.
Installing libs is now enabled, hardcoded.
Enable -Wall for all builds.
Fix many warnings and latent bugs.
Diffstat (limited to 'logic/lists/InstanceList.cpp')
-rw-r--r-- | logic/lists/InstanceList.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/logic/lists/InstanceList.cpp b/logic/lists/InstanceList.cpp index 72748b5f..b9595578 100644 --- a/logic/lists/InstanceList.cpp +++ b/logic/lists/InstanceList.cpp @@ -281,14 +281,6 @@ InstanceList::InstListError InstanceList::loadList() auto &loader = InstanceFactory::get(); auto error = loader.loadInstance(instPtr, subDir); - switch (error) - { - case InstanceFactory::NoLoadError: - break; - case InstanceFactory::NotAnInstance: - break; - } - if (error != InstanceFactory::NoLoadError && error != InstanceFactory::NotAnInstance) { QString errorMsg = QString("Failed to load instance %1: ") |