diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index 47296267..a37759c0 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;