From ba2feb30049c6663fc4c28cdbd829557bd43739a Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Thu, 29 Jul 2021 19:45:29 +0300 Subject: [PATCH] Clean unused var compiler warning in module test. (#9289) (cherry picked from commit 8bf433dc86937a72cbcfa02743a093c2e3d91960) --- tests/modules/blockonbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/blockonbackground.c b/tests/modules/blockonbackground.c index 4faadb77d..ced77862d 100644 --- a/tests/modules/blockonbackground.c +++ b/tests/modules/blockonbackground.c @@ -253,7 +253,7 @@ int Release_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc RedisModuleString *replystr = argv[1]; RedisModule_RetainString(ctx, replystr); - int err = RedisModule_UnblockClient(blocked_client, replystr); + RedisModule_UnblockClient(blocked_client, replystr); blocked_client = NULL; RedisModule_ReplyWithSimpleString(ctx, "OK");