[FFmpeg-cvslog] tests/checkasm/checkasm: Give macro a body to avoid potential unexpected syntax issues
Michael Niedermayer
git at videolan.org
Thu Jul 16 04:35:58 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jul 16 04:02:51 2015 +0200| [a39512ba9e0c0f0e96d872af1c087f07322818fa] | committer: Michael Niedermayer
tests/checkasm/checkasm: Give macro a body to avoid potential unexpected syntax issues
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a39512ba9e0c0f0e96d872af1c087f07322818fa
---
tests/checkasm/checkasm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index 9031725..8d5d30f 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
More information about the ffmpeg-cvslog
mailing list