From: Ralf Habacker Date: Thu, 29 Apr 2010 14:10:31 +0000 (+0200) Subject: Be more silent with porting problems. X-Git-Tag: dbus-1.3.1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=152fa9c7f0e2a60cc9802bad4c8c3ddbbc185daa;p=thirdparty%2Fdbus.git Be more silent with porting problems. --- diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 472962671..a37759c0f 100644 --- a/dbus/dbus-memory.c +++ b/dbus/dbus-memory.c @@ -233,6 +233,7 @@ _dbus_get_fail_alloc_failures (void) } #ifdef DBUS_BUILD_TESTS +static dbus_bool_t called = 0; /** * Called when about to alloc some memory; if * it returns #TRUE, then the allocation should @@ -247,10 +248,9 @@ _dbus_decrement_fail_alloc_counter (void) _dbus_initialize_malloc_debug (); #ifdef DBUS_WIN_FIXME { - static dbus_bool_t called = 0; if (!called) { - _dbus_warn("TODO: memory allocation testing errors disabled for now\n"); + _dbus_verbose("TODO: memory allocation testing errors disabled for now\n"); called = 1; } return FALSE;