From 63034017139cee9480dbc2e9c4a679abe4d55bab Mon Sep 17 00:00:00 2001 From: Revision Date: Wed, 2 Oct 2024 19:58:34 +0200 Subject: [PATCH] Silence totalDps being uninitialized --- src/strategy/values/EstimatedLifetimeValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/values/EstimatedLifetimeValue.cpp b/src/strategy/values/EstimatedLifetimeValue.cpp index b69861c4..6ab58f83 100644 --- a/src/strategy/values/EstimatedLifetimeValue.cpp +++ b/src/strategy/values/EstimatedLifetimeValue.cpp @@ -25,7 +25,7 @@ float EstimatedLifetimeValue::Calculate() float EstimatedGroupDpsValue::Calculate() { - float totalDps; + float totalDps = 0; std::vector groupPlayer = {bot}; if (Group* group = bot->GetGroup())