mirror of https://github.com/go-redis/redis.git
Merge pull request #556 from nykolaslima/patch-1
Remove unnecessary code
This commit is contained in:
commit
4c6e2ad9a0
|
@ -111,11 +111,8 @@ type baseCmd struct {
|
|||
}
|
||||
|
||||
func (cmd *baseCmd) Err() error {
|
||||
if cmd.err != nil {
|
||||
return cmd.err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cmd *baseCmd) args() []interface{} {
|
||||
return cmd._args
|
||||
|
|
Loading…
Reference in New Issue