[gnome-bluetooth] lib: Remove unused variable



commit 8688b5d0f554801166f979f6757b0b1ff9050364
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 27 16:22:45 2017 +0100

    lib: Remove unused variable
    
    Commit 27e88fc0 didn't remove a variable that was now unused
    in set_trusted(), remove it now.

 lib/bluetooth-client.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 9028b11..beea7ed 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -1447,7 +1447,6 @@ bluetooth_client_set_trusted (BluetoothClient *client,
 {
        BluetoothClientPrivate *priv = BLUETOOTH_CLIENT_GET_PRIVATE(client);
        GObject *device;
-       GError *error = NULL;
        GtkTreeIter iter;
 
        g_return_val_if_fail (BLUETOOTH_IS_CLIENT (client), FALSE);


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