diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-05 13:24:24 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-09-19 13:50:38 +0100 |
commit | 2c1ad79c0c0ad3db7b469fc82176713daa06c478 (patch) | |
tree | 358d852fa8cdea351ba2d807b89437539e132a28 /bus | |
parent | 420c6840a3c133a189b59889f31b7a645ac43681 (diff) | |
download | dbus-2c1ad79c0c0ad3db7b469fc82176713daa06c478.tar.gz |
BusConnections: don't assert about BusConnectionData in functions that don't need it
Diffstat (limited to 'bus')
-rw-r--r-- | bus/connection.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bus/connection.c b/bus/connection.c index 166d5a74..26839529 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -830,12 +830,7 @@ bus_connection_get_unix_groups (DBusConnection *connection, int *n_groups, DBusError *error) { - BusConnectionData *d; unsigned long uid; - - d = BUS_CONNECTION_DATA (connection); - - _dbus_assert (d != NULL); *groups = NULL; *n_groups = 0; @@ -1451,13 +1446,7 @@ bus_connections_check_limits (BusConnections *connections, DBusConnection *requesting_completion, DBusError *error) { - BusConnectionData *d; unsigned long uid; - - d = BUS_CONNECTION_DATA (requesting_completion); - _dbus_assert (d != NULL); - - _dbus_assert (d->name == NULL); if (connections->n_completed >= bus_context_get_max_completed_connections (connections->context)) |