mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-10 10:20:26 +01:00
Be more silent with porting problems.
This commit is contained in:
parent
c096c5cb9a
commit
152fa9c7f0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue