mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-09 03:28:21 +02:00
_dbus_message_iter_check: compile non-dummy version if asserting, too
This commit is contained in:
parent
e632ceab0a
commit
e7503d188a
1 changed files with 2 additions and 8 deletions
|
|
@ -729,7 +729,7 @@ dbus_message_cache_or_finalize (DBusMessage *message)
|
|||
dbus_message_finalize (message);
|
||||
}
|
||||
|
||||
#ifndef DBUS_DISABLE_CHECKS
|
||||
#if defined(DBUS_ENABLE_CHECKS) || defined(DBUS_ENABLE_ASSERT)
|
||||
static dbus_bool_t
|
||||
_dbus_message_iter_check (DBusMessageRealIter *iter)
|
||||
{
|
||||
|
|
@ -777,13 +777,7 @@ _dbus_message_iter_check (DBusMessageRealIter *iter)
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
#else
|
||||
static dbus_bool_t
|
||||
_dbus_message_iter_check (DBusMessageRealIter *iter)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
#endif /* DBUS_DISABLE_CHECKS */
|
||||
#endif /* DBUS_ENABLE_CHECKS || DBUS_ENABLE_ASSERT */
|
||||
|
||||
/**
|
||||
* Implementation of the varargs arg-getting functions.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue