diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-08-17 17:36:19 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-08-17 17:36:19 +0100 |
commit | dfa01dacdfb9dfc3276443e066fe941c479e99a7 (patch) | |
tree | 19520dfe3ab6a6d77f39825d5d4783d8e5463f04 /telepathy-glib/dbus-daemon.c | |
parent | 36fba3248ebee2622979e7be49c6175974210eac (diff) | |
download | telepathy-glib-dfa01dacdfb9dfc3276443e066fe941c479e99a7.tar.gz |
TpDBusDaemon: remove redundant check
tp_dbus_check_valid_bus_name criticals and returns FALSE if name is NULL,
so we don't need to check that separately (also, this was done in the
wrong order).
Diffstat (limited to 'telepathy-glib/dbus-daemon.c')
-rw-r--r-- | telepathy-glib/dbus-daemon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/telepathy-glib/dbus-daemon.c b/telepathy-glib/dbus-daemon.c index 928a3a281..6621123b3 100644 --- a/telepathy-glib/dbus-daemon.c +++ b/telepathy-glib/dbus-daemon.c @@ -474,7 +474,6 @@ tp_dbus_daemon_watch_name_owner (TpDBusDaemon *self, g_return_if_fail (TP_IS_DBUS_DAEMON (self)); g_return_if_fail (tp_dbus_check_valid_bus_name (name, TP_DBUS_NAME_TYPE_ANY, NULL)); - g_return_if_fail (name != NULL); g_return_if_fail (callback != NULL); if (watch == NULL) |