mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-23 16:50:18 +01:00
Removed superfluous error checking in redis client.
This commit is contained in:
parent
3c2ab551f1
commit
744208ba00
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user