ZMAXPOP key [ ] */
| 3931 | |
| 3932 | /* ZMAXPOP key [<count>] */ |
| 3933 | void zpopmaxCommand(client *c) { |
| 3934 | if (c->argc > 3) { |
| 3935 | addReplyErrorObject(c,shared.syntaxerr); |
| 3936 | return; |
| 3937 | } |
| 3938 | genericZpopCommand(c,&c->argv[1],1,ZSET_MAX,0, |
| 3939 | c->argc == 3 ? c->argv[2] : NULL); |
| 3940 | } |
| 3941 | |
| 3942 | /* BZPOPMIN / BZPOPMAX actual implementation. */ |
| 3943 | void blockingGenericZpopCommand(client *c, int where) { |
nothing calls this directly
no test coverage detected