Fix review comments

This commit is contained in:
git-hulk 2024-01-31 09:58:40 +08:00
parent 3eb0348ddd
commit e66b7df5f3
2 changed files with 1 additions and 2 deletions

View File

@ -217,7 +217,6 @@ static void *createIntegerObject(const redisReadTask *task, long long value) {
parent->type == REDIS_REPLY_MAP ||
parent->type == REDIS_REPLY_ATTR ||
parent->type == REDIS_REPLY_SET ||
parent->type == REDIS_REPLY_SET ||
parent->type == REDIS_REPLY_PUSH);
parent->element[task->idx] = r;
}

2
read.c
View File

@ -646,7 +646,7 @@ static int processItem(redisReader *r) {
return processBulkItem(r);
case REDIS_REPLY_ARRAY:
case REDIS_REPLY_MAP:
case REDIS_REPLY_ATTR:
case REDIS_REPLY_ATTR:
case REDIS_REPLY_SET:
case REDIS_REPLY_PUSH:
return processAggregateItem(r);