Ver Fonte

Without that thing, go 1.3.3 says 'unexpected range'.

Mathieu Lecarme há 11 anos atrás
pai
commit
3f4f521004
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      redisx/connmux.go

+ 1 - 1
redisx/connmux.go

@@ -134,7 +134,7 @@ func (c *muxConn) Close() error {
 		return nil
 	}
 	c.Flush()
-	for range c.ids {
+	for _ = range c.ids {
 		_, err = c.Receive()
 	}
 	return err