[vlc-devel] commit: Fix expansion to no-op ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 1 22:03:37 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May  1 22:54:43 2008 +0300| [7a3fdc9f14c54fcdef23567f24b38abe3c25501d]

Fix expansion to no-op

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a3fdc9f14c54fcdef23567f24b38abe3c25501d
---

 include/vlc_messages.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_messages.h b/include/vlc_messages.h
index 113825c..537b643 100644
--- a/include/vlc_messages.h
+++ b/include/vlc_messages.h
@@ -364,10 +364,10 @@ VLC_EXPORT( void, __stats_ComputeGlobalStats, (vlc_object_t*,global_stats_t*));
 #define stats_TimerDump(a,b) __stats_TimerDump( VLC_OBJECT(a), b )
 #define stats_TimersDumpAll(a) __stats_TimersDumpAll( VLC_OBJECT(a) )
 #else
-#define stats_TimerStart(a,b,c) {}
-#define stats_TimerStop(a,b) {}
-#define stats_TimerDump(a,b) {}
-#define stats_TimersDumpAll(a) {}
+#define stats_TimerStart(a,b,c) (void)0
+#define stats_TimerStop(a,b) (void)0
+#define stats_TimerDump(a,b) (void)0
+#define stats_TimersDumpAll(a) (void)0
 #endif
 VLC_EXPORT( void,__stats_TimerStart, (vlc_object_t*, const char *, unsigned int ) );
 VLC_EXPORT( void,__stats_TimerStop, (vlc_object_t*, unsigned int) );




More information about the vlc-devel mailing list