diff options
| author | Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> | 2023-03-23 12:56:57 -0500 |
|---|---|---|
| committer | get <45425365+Minty-Meeo@users.noreply.github.com> | 2023-04-12 03:59:57 -0500 |
| commit | efd06a85d2af7da5968a5daba4d601776fd32360 (patch) | |
| tree | ebde324be94b5c425e42489e0382a8d1d77ff573 /Source | |
| parent | 678c93589a642a72d8f2122fca681b886e442ccd (diff) | |
Resolve [-Wunused-but-set-variable]
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/SettingsHandler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/Common/SettingsHandler.cpp b/Source/Core/Common/SettingsHandler.cpp index 109c80abb8..c36805d4ce 100644 --- a/Source/Core/Common/SettingsHandler.cpp +++ b/Source/Core/Common/SettingsHandler.cpp @@ -70,12 +70,10 @@ std::string SettingsHandler::GetValue(std::string_view key) const void SettingsHandler::Decrypt() { - const u8* str = m_buffer.data(); while (m_position < m_buffer.size()) { decoded.push_back((u8)(m_buffer[m_position] ^ m_key)); m_position++; - str++; m_key = (m_key >> 31) | (m_key << 1); } |
