Skip to content

Commit

Permalink
Update pika_zset.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
chejinge committed Dec 14, 2023
1 parent d5c8950 commit af7a3d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pika_zset.cc
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,6 @@ void ZRemCmd::Do(std::shared_ptr<Slot> slot) {
int32_t count = 0;
s_ = slot->db()->ZRem(key_, members_, &count);
if (s_.ok() || s_.IsNotFound()) {
AddSlotKey("z", key_, slot);
res_.AppendInteger(count);
} else {
res_.SetRes(CmdRes::kErrOther, s_.ToString());
Expand Down

0 comments on commit af7a3d6

Please sign in to comment.