OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e2772
)
gdbus: Remove not needed check for NULL DBusPendingCall
author
Szymon Janc
<szymon.janc@tieto.com>
Thu, 26 Sep 2013 08:02:35 +0000
(10:02 +0200)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 14 Oct 2013 11:34:26 +0000
(14:34 +0300)
It is now checked by g_dbus_send_message_with_reply() so there is no
need to double check that in caller.
gdbus/client.c
patch
|
blob
|
history
diff --git
a/gdbus/client.c
b/gdbus/client.c
index
7bffdad
..
be8cc29
100644
(file)
--- a/
gdbus/client.c
+++ b/
gdbus/client.c
@@
-112,11
+112,6
@@
static gboolean modify_match(DBusConnection *conn, const char *member,
return FALSE;
}
- if (call == NULL) {
- dbus_message_unref(msg);
- return FALSE;
- }
-
dbus_pending_call_set_notify(call, modify_match_reply, NULL, NULL);
dbus_pending_call_unref(call);