Przeglądaj źródła

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

Mathieu Lecarme 11 lat temu
rodzic
commit
3f4f521004
1 zmienionych plików z 1 dodań i 1 usunięć
  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