Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur committed Aug 2, 2023
1 parent 98880aa commit 1e833c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/rediscommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ void RedisCommand::format(const char *fmt, ...)
{
redisFreeCommand(temp);
temp = nullptr;
len = 0;
}
len = 0;

va_list ap;
va_start(ap, fmt);
Expand All @@ -45,8 +45,8 @@ void RedisCommand::formatArgv(int argc, const char **argv, const size_t *argvlen
{
redisFreeCommand(temp);
temp = nullptr;
len = 0;
}
len = 0;

int ret = redisFormatCommandArgv(&temp, argc, argv, argvlen);
if (ret == -1) {
Expand Down

0 comments on commit 1e833c7

Please sign in to comment.