summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2020-12-22 14:57:45 +0800
committerGitHub <noreply@github.com>2020-12-21 22:57:45 -0800
commit4bc14da2b3330c7ce8b9366ea3880eba65ba2ff9 (patch)
tree23a9e69ba3f179d6a559dc352b787d39a3a745f9 /src/dict.c
parent4c13945c370b98b69886c6bcd1e71d4934344cae (diff)
downloadredis-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/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 2c59dd466..4f0916a27 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -1215,7 +1215,7 @@ dictType BenchmarkDictType = {
#define end_benchmark(msg) do { \
elapsed = timeInMilliseconds()-start; \
printf(msg ": %ld items in %lld ms\n", count, elapsed); \
-} while(0);
+} while(0)
/* dict-benchmark [count] */
int main(int argc, char **argv) {