ZPOPMIN key [ ] */
| 3923 | |
| 3924 | /* ZPOPMIN key [<count>] */ |
| 3925 | void zpopminCommand(client *c) { |
| 3926 | if (c->argc > 3) { |
| 3927 | addReplyErrorObject(c,shared.syntaxerr); |
| 3928 | return; |
| 3929 | } |
| 3930 | genericZpopCommand(c,&c->argv[1],1,ZSET_MIN,0, |
| 3931 | c->argc == 3 ? c->argv[2] : NULL); |
| 3932 | } |
| 3933 | |
| 3934 | /* ZMAXPOP key [<count>] */ |
| 3935 | void zpopmaxCommand(client *c) { |
nothing calls this directly
no test coverage detected