Skip to content

Commit ab30060

Browse files
git-hulkmichael-grunder
authored andcommittedJan 31, 2024
Fix review comments
1 parent 5b253d8 commit ab30060

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎hiredis.c

-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ static void *createIntegerObject(const redisReadTask *task, long long value) {
217217
parent->type == REDIS_REPLY_MAP ||
218218
parent->type == REDIS_REPLY_ATTR ||
219219
parent->type == REDIS_REPLY_SET ||
220-
parent->type == REDIS_REPLY_SET ||
221220
parent->type == REDIS_REPLY_PUSH);
222221
parent->element[task->idx] = r;
223222
}

‎read.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ static int processItem(redisReader *r) {
646646
return processBulkItem(r);
647647
case REDIS_REPLY_ARRAY:
648648
case REDIS_REPLY_MAP:
649-
case REDIS_REPLY_ATTR:
649+
case REDIS_REPLY_ATTR:
650650
case REDIS_REPLY_SET:
651651
case REDIS_REPLY_PUSH:
652652
return processAggregateItem(r);

0 commit comments

Comments
 (0)
Please sign in to comment.