From 152fa9c7f0e2a60cc9802bad4c8c3ddbbc185daa Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 29 Apr 2010 16:10:31 +0200 Subject: [PATCH] Be more silent with porting problems. --- dbus/dbus-memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3