Commit e113a70b authored by John Palmieri's avatar John Palmieri

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
parent 7ef60319
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment