summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-07-29 19:45:29 +0300
committerOran Agra <oran@redislabs.com>2022-04-27 16:31:52 +0300
commitba2feb30049c6663fc4c28cdbd829557bd43739a (patch)
tree3ab86bc9aa00432de116e12a23c4b944b3b9b7dd
parentaa0606db089408613ede515f0c25f7c3b71cce66 (diff)
downloadredis-ba2feb30049c6663fc4c28cdbd829557bd43739a.tar.gz
Clean unused var compiler warning in module test. (#9289)
(cherry picked from commit 8bf433dc86937a72cbcfa02743a093c2e3d91960)
-rw-r--r--tests/modules/blockonbackground.c2
1 files changed, 1 insertions, 1 deletions
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");