From fdb114e5cce2790fd3c68cfa13113c7b59b83e4e Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 31 Aug 2003 17:26:22 +0000 Subject: 2003-08-31 Havoc Pennington * fix build with --disable-tests --- dbus/dbus-internals.c | 2 -- dbus/dbus-marshal.c | 6 ------ 2 files changed, 8 deletions(-) (limited to 'dbus') diff --git a/dbus/dbus-internals.c b/dbus/dbus-internals.c index ccc11776..47a2b404 100644 --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -265,7 +265,6 @@ _dbus_strdup (const char *str) return copy; } -#ifdef DBUS_BUILD_TESTS /* memdup not used at the moment */ /** * Duplicates a block of memory. Returns * #NULL on failure. @@ -288,7 +287,6 @@ _dbus_memdup (const void *mem, return copy; } -#endif /** * Duplicates a string array. Result may be freed with diff --git a/dbus/dbus-marshal.c b/dbus/dbus-marshal.c index 6343056e..5297cb67 100644 --- a/dbus/dbus-marshal.c +++ b/dbus/dbus-marshal.c @@ -1906,12 +1906,6 @@ validate_array_data (const DBusString *str, * returns #TRUE if a valid arg begins at "pos" * * @todo security: need to audit this function. - * - * @todo For array types that can't be invalid, we should not - * walk the whole array validating it. e.g. just skip all the - * int values in an int array. (maybe this is already done now -hp) - * - * @todo support DBUS_TYPE_OBJECT_PATH * * @param str a string * @param byte_order the byte order to use -- cgit