summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-16 04:02:51 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-16 04:35:14 +0200
commita39512ba9e0c0f0e96d872af1c087f07322818fa (patch)
tree4e8d6938894398be0119bd3ce877bccdf8ba447e /tests
parent4afc3429be49345d9e279adb4b4aeea9b13db47c (diff)
downloadffmpeg-a39512ba9e0c0f0e96d872af1c087f07322818fa.tar.gz
tests/checkasm/checkasm: Give macro a body to avoid potential unexpected syntax issues
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-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 9031725f82..8d5d30f597 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -110,7 +110,7 @@ void checkasm_stack_clobber(uint64_t clobber, ...);
}\
} while (0)
#else
-#define bench_new(...)
+#define bench_new(...) while(0)
#endif
#endif