diff options
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-internals.c | 2 | ||||
-rw-r--r-- | dbus/dbus-marshal.c | 6 |
2 files changed, 0 insertions, 8 deletions
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 |