aboutsummaryrefslogtreecommitdiff
path: root/launcher/translations
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-06-04 14:59:37 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-06-04 14:59:48 -0700
commitcc41b039e6ba2a24c0ded9fb573bee6050aa2ac9 (patch)
tree030fa871567ccdcbc839325afc9cc533df2e981e /launcher/translations
parent7e0e1ec51dfbcd49204f8e8e7e82b72c9931db11 (diff)
downloadPrismLauncher-cc41b039e6ba2a24c0ded9fb573bee6050aa2ac9.tar.gz
PrismLauncher-cc41b039e6ba2a24c0ded9fb573bee6050aa2ac9.tar.bz2
PrismLauncher-cc41b039e6ba2a24c0ded9fb573bee6050aa2ac9.zip
chore: clean up after new compiler warnings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/translations')
-rw-r--r--launcher/translations/TranslationsModel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/launcher/translations/TranslationsModel.cpp b/launcher/translations/TranslationsModel.cpp
index 46db4804..8a004315 100644
--- a/launcher/translations/TranslationsModel.cpp
+++ b/launcher/translations/TranslationsModel.cpp
@@ -274,7 +274,6 @@ void readIndex(const QString & path, QMap<QString, Language>& languages)
return;
}
- int index = 1;
try
{
auto toplevel_doc = Json::requireDocument(data);
@@ -307,7 +306,6 @@ void readIndex(const QString & path, QMap<QString, Language>& languages)
lang.file_size = Json::requireInteger(langObj, "size");
languages.insert(lang.key, lang);
- index++;
}
}
catch (Json::JsonException & e)