From 34a92f83ccc255acf901171ba4e39fd58d337646 Mon Sep 17 00:00:00 2001 From: Michael Hess Date: Mon, 18 Nov 2024 21:50:48 +0100 Subject: [PATCH] remove superflous default initialization --- charger/easee.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/easee.go b/charger/easee.go index 5d5caa40af..5f7ca88bb4 100644 --- a/charger/easee.go +++ b/charger/easee.go @@ -821,7 +821,7 @@ var _ api.PhaseGetter = (*Easee)(nil) func (c *Easee) GetPhases() (int, error) { c.mux.RLock() defer c.mux.RUnlock() - var phases = 0 + var phases int if c.circuit != 0 { // circuit level controlled charger for dcc := range c.dynamicCircuitCurrent {