aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-17 18:07:58 +0200
committerJanne Grunau <janne-libav@jannau.net>2015-07-18 01:06:44 +0200
commitcb33f8d0f48b1e9d642ca1cbea142dcbedd08a27 (patch)
treec18c8b2028809db3a186ca0df6d5cdd1fa9337c0
parent6cc4d3e9a982e926494f4b919d9733fe29774acf (diff)
downloadffmpeg-cb33f8d0f48b1e9d642ca1cbea142dcbedd08a27.tar.gz
checkasm: Give macro a body to avoid potential unexpected syntax issues
-rw-r--r--tests/checkasm/checkasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index c2e359faa6..b7a36ee126 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -111,7 +111,7 @@ void checkasm_stack_clobber(uint64_t clobber, ...);
}\
} while (0)
#else
-#define bench_new(...)
+#define bench_new(...) while(0)
#endif
#endif