summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-09-23 17:42:27 +0200
committerGitHub <noreply@github.com>2022-09-23 17:42:27 +0200
commit3ee4c6a33bfb497d8866d0624f03853c761f754f (patch)
treeac96cd62d3895829a652df3e51afc29b9fd80159 /Source/Core/DiscIO/VolumeVerifier.cpp
parentb314e2a313aa2c25b4a10508103fdf96b73d3c51 (diff)
parent9860b68b9c760d88c5cdb3bd6bb28f28cdd9191f (diff)
Merge pull request #11082 from AdmiralCurtiss/getstringt
VolumeVerifier: Add missing assignment to summary_text, and prevent such errors in the future by adding [[nodiscard]] to GetStringT().
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 109b4c2f64..a2810b5919 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -1432,8 +1432,9 @@ void VolumeVerifier::Finish()
}
else
{
- Common::GetStringT("Problems with low severity were found. They will most "
- "likely not prevent the game from running.");
+ m_result.summary_text =
+ Common::GetStringT("Problems with low severity were found. They will most "
+ "likely not prevent the game from running.");
}
break;
case Severity::Medium: