diff --git a/src/Song.cpp b/src/Song.cpp index 6f8db106f1..ebabfe01a9 100644 --- a/src/Song.cpp +++ b/src/Song.cpp @@ -1686,7 +1686,7 @@ bool Song::IsSkillsetHighestOfAnySteps(Skillset ss, float rate) { vector vsteps = GetAllSteps(); FOREACH(Steps*, vsteps, steps) { auto sortedstuffs = (*steps)->SortSkillsetsAtRate(rate, true); - Skillset why; + Skillset why = Skillset_Invalid; int iA = 1; FOREACHM(float, Skillset, sortedstuffs, poodle) { if (iA == NUM_Skillset)