bluetooth: Remove usage of unused variable
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 27 May 2011 17:10:04 +0000 (10:10 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 May 2011 17:10:04 +0000 (10:10 -0700)
plugins/bluetooth.c

index 7c2d5b0..2a507c5 100644 (file)
@@ -679,12 +679,11 @@ static gboolean adapter_added(DBusConnection *connection, DBusMessage *message,
                                void *user_data)
 {
        const char *path;
-       int ret;
 
        dbus_message_get_args(message, NULL, DBUS_TYPE_OBJECT_PATH, &path,
                                DBUS_TYPE_INVALID);
 
-       ret = bluetooth_send_with_reply(path, BLUEZ_ADAPTER_INTERFACE,
+       bluetooth_send_with_reply(path, BLUEZ_ADAPTER_INTERFACE,
                        "GetProperties", adapter_properties_cb, g_strdup(path),
                        g_free, -1, DBUS_TYPE_INVALID);