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 539fbed commit 09dc617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Steps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ class LunaSteps: public Luna<Steps>
auto sortedskillsets = p->SortSkillsetsAtRate(rate, false);
int rank = IArg(2);
int i = NUM_Skillset - 1; // exclude Overall from this... need to handle overall better - mina
Skillset o;
Skillset o = Skillset_Invalid;
float rval = 0.f;
float highval = 0.f;
FOREACHM(float, Skillset, sortedskillsets, thingy) {
Expand Down

0 comments on commit 09dc617

Please sign in to comment.