diff options
author | sundb <sundbcn@gmail.com> | 2020-12-22 14:57:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 22:57:45 -0800 |
commit | 4bc14da2b3330c7ce8b9366ea3880eba65ba2ff9 (patch) | |
tree | 23a9e69ba3f179d6a559dc352b787d39a3a745f9 /src/modules | |
parent | 4c13945c370b98b69886c6bcd1e71d4934344cae (diff) | |
download | redis-4bc14da2b3330c7ce8b9366ea3880eba65ba2ff9.tar.gz |
Fix some redundancy use of semicolon in do-while macros (#8221)
* Fix some redundancy use of semicolon in do-while macros
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/testmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |