Skip to content

Commit

Permalink
fix -Werror=unused-but-set-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MillhioreBT committed Apr 28, 2024
1 parent 738dcc1 commit 2324a39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5379,7 +5379,6 @@ bool Game::saveGameStorageValues() const

void Game::setStorageValue(uint32_t key, std::optional<int64_t> value)
{
auto oldValue = getStorageValue(key);
if (value) {
storageMap.insert_or_assign(key, value.value());
} else {
Expand Down

0 comments on commit 2324a39

Please sign in to comment.