mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Merge pull request #556 from nykolaslima/patch-1
Remove unnecessary code
This commit is contained in:
commit
4c6e2ad9a0
@ -111,10 +111,7 @@ type baseCmd struct {
|
||||
}
|
||||
|
||||
func (cmd *baseCmd) Err() error {
|
||||
if cmd.err != nil {
|
||||
return cmd.err
|
||||
}
|
||||
return nil
|
||||
return cmd.err
|
||||
}
|
||||
|
||||
func (cmd *baseCmd) args() []interface{} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user