Skip to content

Commit

Permalink
Merge pull request gomodule#149 from szank/master
Browse files Browse the repository at this point in the history
Fix bux causing Ints call to swallow error returned from the connecton object
  • Loading branch information
garyburd committed Sep 1, 2015
2 parents 5f01fdd + 7010c1c commit 88c61e3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions redis/reply.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ func Strings(reply interface{}, err error) ([]string, error) {
// err is not equal to nil, then Ints returns nil, err.
func Ints(reply interface{}, err error) ([]int, error) {
var ints []int
if reply == nil {
return ints, ErrNil
}
values, err := Values(reply, err)
if err != nil {
return ints, err
Expand Down

0 comments on commit 88c61e3

Please sign in to comment.