Forgot to keep #ifndef DEBUG macros up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3282 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -142,15 +142,6 @@ private:
|
|||||||
#define DUMP_INIT(categoryFlags, className) \
|
#define DUMP_INIT(categoryFlags, className) \
|
||||||
DEBUG_INIT_SILENT(categoryFlags, className);
|
DEBUG_INIT_SILENT(categoryFlags, className);
|
||||||
|
|
||||||
#define DUMP_PRINT(x) { \
|
|
||||||
if ((_debugHelper.CategoryFlags() & CATEGORY_FILTER) \
|
|
||||||
== _debugHelper.CategoryFlags()) \
|
|
||||||
{ \
|
|
||||||
PRINT_INDENT(); \
|
|
||||||
__out x; \
|
|
||||||
} \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define PRINT(x) { \
|
#define PRINT(x) { \
|
||||||
if ((_debugHelper.CategoryFlags() & CATEGORY_FILTER) \
|
if ((_debugHelper.CategoryFlags() & CATEGORY_FILTER) \
|
||||||
== _debugHelper.CategoryFlags()) \
|
== _debugHelper.CategoryFlags()) \
|
||||||
@@ -235,11 +226,15 @@ private:
|
|||||||
#define DBG(x) x ;
|
#define DBG(x) x ;
|
||||||
|
|
||||||
#else // ifdef DEBUG
|
#else // ifdef DEBUG
|
||||||
#define DEBUG_INIT(x) ;
|
#define DEBUG_INIT_SILENT(categoryFlags, className) ;
|
||||||
|
#define DEBUG_INIT(categoryFlags, className) ;
|
||||||
|
#define DEBUG_INIT_ETC(categoryFlags, className, arguments) ;
|
||||||
|
#define DUMP_INIT(categoryFlags, className) ;
|
||||||
#define PRINT(x) ;
|
#define PRINT(x) ;
|
||||||
#define LPRINT(x) ;
|
#define LPRINT(x) ;
|
||||||
#define SIMPLE_PRINT(x) ;
|
#define SIMPLE_PRINT(x) ;
|
||||||
#define PRINT_INDENT(x) ;
|
#define PRINT_INDENT(x) ;
|
||||||
|
#define PRINT_DIVIDER() ;
|
||||||
#define REPORT_ERROR(status) ;
|
#define REPORT_ERROR(status) ;
|
||||||
#define RETURN_ERROR(status) return status;
|
#define RETURN_ERROR(status) return status;
|
||||||
#define RETURN(status) return status;
|
#define RETURN(status) return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user