Fix some redundancy use of semicolon in do-while macros (#8221)

* Fix some redundancy use of semicolon in do-while macros
This commit is contained in:
sundb
2020-12-21 22:57:45 -08:00
committed by GitHub
parent 4c13945c37
commit 4bc14da2b3
8 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -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) {