From 401c837afce92beea2e767c9008d2b36b2289b91 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 28 Apr 2018 08:44:13 +0200 Subject: [PATCH] multi_audio: remove some unused debug macros We were #defining DEBUG here, which leads to some system-wide debugging macros being always enabled as well (PRINT_OBJECT and the like). This should be managed only using SetConfigVar in UserBuildConfig. Remove the unused UNIMPLEMENTED and BROKEN macros because everything is implemented, and nothing is currently known to be broken :) --- .../media/media-add-ons/multi_audio/debug.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/add-ons/media/media-add-ons/multi_audio/debug.h b/src/add-ons/media/media-add-ons/multi_audio/debug.h index 835882f2e8..cdfb9adf28 100644 --- a/src/add-ons/media/media-add-ons/multi_audio/debug.h +++ b/src/add-ons/media/media-add-ons/multi_audio/debug.h @@ -3,22 +3,6 @@ #ifndef NDEBUG - #ifndef DEBUG - #define DEBUG 2 - #endif - - #if DEBUG >= 1 - #define UNIMPLEMENTED() printf("UNIMPLEMENTED %s\n",__PRETTY_FUNCTION__) - #else - #define UNIMPLEMENTED() ((void)0) - #endif - - #if DEBUG >= 2 - #define BROKEN() printf("BROKEN %s\n",__PRETTY_FUNCTION__) - #else - #define BROKEN() ((void)0) - #endif - #if DEBUG >= 3 #define CALLED() printf("CALLED %s\n",__PRETTY_FUNCTION__) #else @@ -27,8 +11,6 @@ #else - #define UNIMPLEMENTED() ((void)0) - #define BROKEN() ((void)0) #define CALLED() ((void)0) #endif