summaryrefslogtreecommitdiff
path: root/tests/modules/blockonbackground.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-07-29 19:45:29 +0300
committerGitHub <noreply@github.com>2021-07-29 19:45:29 +0300
commit8bf433dc86937a72cbcfa02743a093c2e3d91960 (patch)
treed14dcab3847edc1919277d8d31bbad7a5a2ebf49 /tests/modules/blockonbackground.c
parentdb4153645458bbc23c0394a8974b734825a656e5 (diff)
downloadredis-8bf433dc86937a72cbcfa02743a093c2e3d91960.tar.gz
Clean unused var compiler warning in module test. (#9289)
Diffstat (limited to 'tests/modules/blockonbackground.c')
-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 688756309..92f5876d2 100644
--- a/tests/modules/blockonbackground.c
+++ b/tests/modules/blockonbackground.c
@@ -248,7 +248,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");