Skip to content

Commit

Permalink
Silence totalDps being uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
noisiver committed Oct 2, 2024
1 parent 54a8445 commit 6303401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategy/values/EstimatedLifetimeValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ float EstimatedLifetimeValue::Calculate()

float EstimatedGroupDpsValue::Calculate()
{
float totalDps;
float totalDps = 0;

std::vector<Player*> groupPlayer = {bot};
if (Group* group = bot->GetGroup())
Expand Down

0 comments on commit 6303401

Please sign in to comment.