Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hulk authored and michael-grunder committed Jan 31, 2024
1 parent 5b253d8 commit ab30060
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion hiredis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion read.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ab30060

Please sign in to comment.