[PATCH 2/4] bluetooth: Remove unused DBusError

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx>

---
 src/modules/bluetooth/bluetooth-util.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 5924736..dd280cb 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -821,16 +821,12 @@ static pa_dbus_pending* send_and_add_to_pending(pa_bluetooth_discovery *y, DBusM
 }
 
 static void register_endpoint_reply(DBusPendingCall *pending, void *userdata) {
-    DBusError e;
     DBusMessage *r;
     pa_dbus_pending *p;
     pa_bluetooth_discovery *y;
     char *endpoint;
 
     pa_assert(pending);
-
-    dbus_error_init(&e);
-
     pa_assert_se(p = userdata);
     pa_assert_se(y = p->context_data);
     pa_assert_se(endpoint = p->call_data);
-- 
1.7.11.7



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux