Unverified Commit 155c2910 authored by 罗泽轩's avatar 罗泽轩 Committed by GitHub
Browse files

Remove duplicate SET_OP_XX definitions in t_set.c. (#4326)

These definitions already exist in server.h.
parent 48d54265
......@@ -1049,10 +1049,6 @@ void sinterstoreCommand(client *c) {
sinterGenericCommand(c, c->argv+2, c->argc-2, c->argv[1], 0, 0);
}
#define SET_OP_UNION 0
#define SET_OP_DIFF 1
#define SET_OP_INTER 2
void sunionDiffGenericCommand(client *c, robj **setkeys, int setnum,
robj *dstkey, int op) {
robj **sets = zmalloc(sizeof(robj*)*setnum);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment