mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-05 12:30:21 +01:00
wrap all_reader_classes[] in #ifndef DBUS_DISABLE_ASSERT (FDO Bug #9030)
2008-01-15 John (J5) Palmieri <johnp@redhat.com> * patch by Sébastien Couret <10function at gmail dot com> * dbus/dbus-marshal-recursive.c (all_reader_classes[]): wrap in #ifndef DBUS_DISABLE_ASSERT since it is only used in asserts which are noop
This commit is contained in:
parent
7ef60319c7
commit
e113a70b56
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2008-01-15 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* patch by Sébastien Couret <10function at gmail dot com>
|
||||
|
||||
* dbus/dbus-marshal-recursive.c (all_reader_classes[]): wrap in
|
||||
#ifndef DBUS_DISABLE_ASSERT since it is only used in asserts which
|
||||
are noop
|
||||
|
||||
2008-01-15 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* patch by Magnus Henoch <henoch plus bfdo at dtek dot chalmers dot se>
|
||||
|
|
|
|||
|
|
@ -690,6 +690,7 @@ static const DBusTypeReaderClass variant_reader_class = {
|
|||
base_reader_next
|
||||
};
|
||||
|
||||
#ifndef DBUS_DISABLE_ASSERT
|
||||
static const DBusTypeReaderClass * const
|
||||
all_reader_classes[] = {
|
||||
&body_reader_class,
|
||||
|
|
@ -702,6 +703,7 @@ all_reader_classes[] = {
|
|||
&array_types_only_reader_class,
|
||||
&variant_reader_class
|
||||
};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Initializes a type reader.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue