mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-27 03:20:09 +01:00
memory: Remove redundant guard around _dbus_decrement_fail_alloc_counter()
This function is already inside `#ifdef DBUS_ENABLE_EMBEDDED_TESTS`
and doesn't need a second layer of the same guard.
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 6e61173d64)
This commit is contained in:
parent
80eac5c99e
commit
9907deedb1
1 changed files with 0 additions and 2 deletions
|
|
@ -244,7 +244,6 @@ _dbus_get_fail_alloc_failures (void)
|
|||
return n_failures_per_failure;
|
||||
}
|
||||
|
||||
#ifdef DBUS_ENABLE_EMBEDDED_TESTS
|
||||
/**
|
||||
* Called when about to alloc some memory; if
|
||||
* it returns #TRUE, then the allocation should
|
||||
|
|
@ -286,7 +285,6 @@ _dbus_decrement_fail_alloc_counter (void)
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */
|
||||
|
||||
/**
|
||||
* Get the number of outstanding malloc()'d blocks.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue