# HG changeset patch # User Matti Hamalainen # Date 1208381595 -10800 # Node ID 74a9861d48300c4c801729ed8efba7047f4b9326 # Parent 9888a5613ccc6fdba5fdfd23ec86109de68ee373 Empty declaration of AUDDBG is slightly dangerous, use "do { } while (0)" construct instead. diff -r 9888a5613ccc -r 74a9861d4830 src/audacious/main.h --- a/src/audacious/main.h Thu Apr 17 00:31:09 2008 +0300 +++ b/src/audacious/main.h Thu Apr 17 00:33:15 2008 +0300 @@ -47,9 +47,9 @@ /* macro for debug print */ #ifdef AUD_DEBUG -# define AUDDBG(...) g_print("%s:%d %s(): ", __FILE__, (int)__LINE__, __FUNCTION__), g_print(__VA_ARGS__) +# define AUDDBG(...) do { g_print("%s:%d %s(): ", __FILE__, (int)__LINE__, __FUNCTION__); g_print(__VA_ARGS__); } while (0) #else -# define AUDDBG(...) +# define AUDDBG(...) do { } while (0) #endif