1
0
mirror of https://bitbucket.org/s_l_teichmann/mtsatellite synced 2025-03-31 17:30:32 +02:00

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

@ -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
} }