Skip to content

Commit

Permalink
chore: Remove unnecessary blank (_) identifier (#551)
Browse files Browse the repository at this point in the history
Remove unnecessary blank (_) identifier from redisx/muxConn.Close
  • Loading branch information
withshubh authored Feb 16, 2021
1 parent 8a8dbfb commit e2bc6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redisx/connmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (c *muxConn) Close() error {
return nil
}
c.Flush()
for _ = range c.ids {
for range c.ids {
_, err = c.Receive()
}
return err
Expand Down

0 comments on commit e2bc6db

Please sign in to comment.