mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 05:18:00 +02:00
BusConnections: don't assert about BusConnectionData in functions that don't need it
This commit is contained in:
parent
420c6840a3
commit
2c1ad79c0c
1 changed files with 0 additions and 11 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue