ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]>

> 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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to