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:
Simon McVittie 2024-12-09 18:25:27 +00:00
parent 80eac5c99e
commit 9907deedb1

View file

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