From 1b75b4b0bf7b00f02a6543ff1ec88203e8971a68 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 29 May 2022 07:01:20 -0300 Subject: [PATCH] Fix uninit value in MusicWheel.cpp --- src/Etterna/Actor/Menus/MusicWheel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Etterna/Actor/Menus/MusicWheel.cpp b/src/Etterna/Actor/Menus/MusicWheel.cpp index 2eb8910f1e..ac1df8bbaa 100644 --- a/src/Etterna/Actor/Menus/MusicWheel.cpp +++ b/src/Etterna/Actor/Menus/MusicWheel.cpp @@ -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);