From fef11f270b69c2a4ffb1d0177abd0ecd903b8d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 16 May 2005 17:49:19 +0000 Subject: [PATCH] The registrar was always in debug mode, no matter what was defined. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12690 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/Debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/servers/registrar/Debug.h b/src/servers/registrar/Debug.h index f6aecb4785..edbcea0977 100644 --- a/src/servers/registrar/Debug.h +++ b/src/servers/registrar/Debug.h @@ -6,7 +6,7 @@ ** This file may be used under the terms of the OpenBeOS License. */ #ifndef DEBUG -# define DEBUG 1 +# define DEBUG 0 #endif #include @@ -34,7 +34,7 @@ // the statements in D() are only included if DEBUG is defined #define DEBUG_APP "REG" -#ifdef DEBUG +#if DEBUG #define PRINT(x) { __out(DEBUG_APP ": "); __out x; } #define REPORT_ERROR(status) __out(DEBUG_APP ": %s:%d: %s\n",__FUNCTION__,__LINE__,strerror(status)); #define RETURN_ERROR(err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); return _status;} @@ -55,7 +55,7 @@ #define FATAL(x) { __out(DEBUG_APP ": "); __out x; } #define ERROR(x) { __out(DEBUG_APP ": "); __out x; } #define WARNING(x) { __out(DEBUG_APP ": "); __out x; } - #define INFORM(x) { __out(DEBUG_APP ": "); __out x; } + #define INFORM(x) ; #define FUNCTION(x) ; #define FUNCTION_START() ; #define FUNCTION_END() ;