Clean unused var compiler warning in module test. (#9289)

(cherry picked from commit 8bf433dc86)
This commit is contained in:
Yossi Gottlieb 2021-07-29 19:45:29 +03:00 committed by Oran Agra
parent aa0606db08
commit ba2feb3004

View File

@ -253,7 +253,7 @@ int Release_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc
RedisModuleString *replystr = argv[1]; RedisModuleString *replystr = argv[1];
RedisModule_RetainString(ctx, replystr); RedisModule_RetainString(ctx, replystr);
int err = RedisModule_UnblockClient(blocked_client, replystr); RedisModule_UnblockClient(blocked_client, replystr);
blocked_client = NULL; blocked_client = NULL;
RedisModule_ReplyWithSimpleString(ctx, "OK"); RedisModule_ReplyWithSimpleString(ctx, "OK");