Skip to content

Commit

Permalink
Cheats: Compiler warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 29, 2024
1 parent d4e393f commit 468c907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@ std::unique_ptr<Cheats::GamesharkCheatCode> Cheats::GamesharkCheatCode::Parse(Me
std::optional<u32> second;
if (next.find('?') != std::string_view::npos)
{
u8 option_bitpos, option_bitcount;
u8 option_bitpos = 0, option_bitcount = 0;
second = ParseHexOptionMask(next, &option_bitpos, &option_bitcount);
if (second.has_value())
{
Expand Down

0 comments on commit 468c907

Please # to comment.