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