Silence totalDps being uninitialized

This commit is contained in:
Revision
2024-10-02 19:58:34 +02:00
parent 54a844585f
commit 6303401713

View File

@@ -25,7 +25,7 @@ float EstimatedLifetimeValue::Calculate()
float EstimatedGroupDpsValue::Calculate() float EstimatedGroupDpsValue::Calculate()
{ {
float totalDps; float totalDps = 0;
std::vector<Player*> groupPlayer = {bot}; std::vector<Player*> groupPlayer = {bot};
if (Group* group = bot->GetGroup()) if (Group* group = bot->GetGroup())