From adc2791822bbdbda24fa626040eed6ee63337f3d Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 5 May 2025 19:14:58 -0400 Subject: [PATCH] Fix the two remaining compiler warnings --- launcher/src/launchercore.cpp | 2 ++ launcher/src/profile.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher/src/launchercore.cpp b/launcher/src/launchercore.cpp index 28149ed..2e8e849 100755 --- a/launcher/src/launchercore.cpp +++ b/launcher/src/launchercore.cpp @@ -598,6 +598,8 @@ QCoro::Task<> LauncherCore::handleGameExit(const Profile *profile) co_return; } +#else + Q_UNUSED(profile) #endif // Otherwise, quit when everything is finished. if (config()->closeWhenLaunched()) { diff --git a/launcher/src/profile.cpp b/launcher/src/profile.cpp index 549f9f1..d8ed8a3 100644 --- a/launcher/src/profile.cpp +++ b/launcher/src/profile.cpp @@ -102,7 +102,7 @@ void Profile::readGameData() // TODO: bad API, we should instead get a list of row ids from libphysis but that API doesn't exist yet. for (unsigned int i = 0; i < exd.row_count; i++) { auto rows = physis_exd_read_row(&exd, i); - for (int j = 0; j < rows.row_count; j++) { + for (unsigned int j = 0; j < rows.row_count; j++) { auto row = rows.row_data[j]; if (row.column_data != nullptr) { m_expansionNames.push_back(QString::fromLatin1(row.column_data[0].string._0));