From 4bc14da2b3330c7ce8b9366ea3880eba65ba2ff9 Mon Sep 17 00:00:00 2001 From: sundb Date: Tue, 22 Dec 2020 14:57:45 +0800 Subject: Fix some redundancy use of semicolon in do-while macros (#8221) * Fix some redundancy use of semicolon in do-while macros --- src/modules/testmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/testmodule.c b/src/modules/testmodule.c index 5634530dd..078c02c5c 100644 --- a/src/modules/testmodule.c +++ b/src/modules/testmodule.c @@ -364,7 +364,7 @@ int TestAssertIntegerReply(RedisModuleCtx *ctx, RedisModuleCallReply *reply, lon do { \ RedisModule_Log(ctx,"warning","Testing %s", name); \ reply = RedisModule_Call(ctx,name,__VA_ARGS__); \ - } while (0); + } while (0) /* TEST.IT -- Run all the tests. */ int TestIt(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { -- cgit v1.2.1