Be more silent with porting problems.

This commit is contained in:
Ralf Habacker 2010-04-29 16:10:31 +02:00
parent c096c5cb9a
commit 152fa9c7f0

View file

@ -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;