[haiku-commits] haiku: hrev51907 - src/add-ons/media/media-add-ons/multi_audio

  • From: waddlesplash@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Apr 2018 13:25:48 -0400 (EDT)

hrev51907 adds 1 changeset to branch 'master'
old head: 648f0d5f086abfca56fe04c6dc94e74177a9dab1
new head: 401c837afce92beea2e767c9008d2b36b2289b91
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=401c837afce9+%5E648f0d5f086a

----------------------------------------------------------------------------

401c837afce9: 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 :)

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51907
Commit:      401c837afce92beea2e767c9008d2b36b2289b91
URL:         https://git.haiku-os.org/haiku/commit/?id=401c837afce9
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Sat Apr 28 06:44:13 2018 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sun Apr 29 17:25:46 2018 UTC

----------------------------------------------------------------------------

1 file changed, 18 deletions(-)
.../media/media-add-ons/multi_audio/debug.h        | 18 ------------------

----------------------------------------------------------------------------

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


Other related posts:

  • » [haiku-commits] haiku: hrev51907 - src/add-ons/media/media-add-ons/multi_audio - waddlesplash