Skip to content

Commit

Permalink
Remove unnecessary var declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
spartan0x117 committed Nov 7, 2023
1 parent 87d7972 commit 2f88f84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion component/remote/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ func (c *Component) updatePollHealth(err error) {

// pollError is like poll but returns an error if one occurred.
func (c *Component) pollError() error {
var err error
c.mut.Lock()
defer c.mut.Unlock()

Expand Down

0 comments on commit 2f88f84

Please sign in to comment.