Skip to content

Commit

Permalink
Fix uninit value in MusicWheel.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed May 29, 2022
1 parent da9528a commit 1b75b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Actor/Menus/MusicWheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ MusicWheel::UpdateSwitch()
// Change difficulty for sorts by meter
// XXX: do this with GameCommand?
StepsType st;
Difficulty dc;
Difficulty dc = Difficulty_Invalid;
if (SongUtil::GetStepsTypeAndDifficultyFromSortOrder(
GAMESTATE->m_SortOrder, st, dc)) {
ASSERT(dc != Difficulty_Invalid);
Expand Down

0 comments on commit 1b75b4b

Please sign in to comment.