Skip to content

Commit

Permalink
remove superflous default initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimmiMeloni committed Nov 18, 2024
1 parent f0abbd0 commit 34a92f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/easee.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 34a92f8

Please sign in to comment.