Sfoglia il codice sorgente

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

Mathieu Lecarme 11 anni fa
parent
commit
3f4f521004
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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