Skip to content

Commit

Permalink
Fix uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 30, 2018
1 parent 9842959 commit 1eadc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ bool Song::IsSkillsetHighestOfAnySteps(Skillset ss, float rate) {
vector<Steps*> 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)
Expand Down

0 comments on commit 1eadc40

Please sign in to comment.