1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-11 12:37:46 +00:00

Fix the two remaining compiler warnings

This commit is contained in:
Joshua Goins 2025-05-05 19:14:58 -04:00
parent 3ef4806e36
commit adc2791822
2 changed files with 3 additions and 1 deletions

View file

@ -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()) {

View file

@ -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));