From dc24d98c71c7def95cac57357b7ea2a111da02ef Mon Sep 17 00:00:00 2001 From: Andrii Kushch Date: Thu, 11 Oct 2018 12:53:40 +0200 Subject: [PATCH] remove redundant expression --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index 8fa85ddf..64056713 100644 --- a/redis.go +++ b/redis.go @@ -323,7 +323,7 @@ func txPipelineReadQueued(rd *proto.Reader, cmds []Cmder) error { return err } - for _ = range cmds { + for range cmds { err = statusCmd.readReply(rd) if err != nil && !internal.IsRedisError(err) { return err