mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 09:10:17 +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
|
rest -= n
|
||||||
}
|
}
|
||||||
if _, err = client.reader.ReadBytes('\n'); err != nil {
|
_, err = client.reader.ReadBytes('\n')
|
||||||
return
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user