Removed superfluous error checking in redis client.

This commit is contained in:
Sascha L. Teichmann 2017-02-24 19:54:19 +01:00
parent 3c2ab551f1
commit 744208ba00

View File

@ -105,9 +105,7 @@ func (client *RedisClient) readBulkString(data *[]byte) (size int, err error) {
}
rest -= n
}
if _, err = client.reader.ReadBytes('\n'); err != nil {
return
}
_, err = client.reader.ReadBytes('\n')
return
}