Module: libav
Branch: master
Commit: cb33f8d0f48b1e9d642ca1cbea142dcbedd08a27

Author:    Michael Niedermayer <[email protected]>
Committer: Janne Grunau <[email protected]>
Date:      Fri Jul 17 18:07:58 2015 +0200

checkasm: Give macro a body to avoid potential unexpected syntax issues

---

 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 c2e359f..b7a36ee 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to