[libgnome-keyring] Remove unused variable



commit 473e1c4b4ab4649bd1fc39abfd603d9de17b5c70
Author: Stef Walter <stef memberwebs com>
Date:   Tue Aug 30 11:47:05 2011 +0200

    Remove unused variable

 library/gnome-keyring.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c
index 4febf47..61d4f8b 100644
--- a/library/gnome-keyring.c
+++ b/library/gnome-keyring.c
@@ -3931,7 +3931,6 @@ find_network_password_filter (GnomeKeyringResult res, GList *found_list, gpointe
 	GkrCallback *cb = user_data;
 	GnomeKeyringNetworkPasswordData *data;
 	GnomeKeyringFound *found;
-	GnomeKeyringAttribute *attributes;
 	GList *result, *l;
 	int i;
 
@@ -3953,7 +3952,6 @@ find_network_password_filter (GnomeKeyringResult res, GList *found_list, gpointe
 		data->password = found->secret;
 		found->secret = NULL;
 
-		attributes = (GnomeKeyringAttribute *) found->attributes->data;
 		for (i = 0; i < found->attributes->len; i++) {
 			GnomeKeyringAttribute *attribute = &(g_array_index (found->attributes, GnomeKeyringAttribute, i));
 			if (strcmp (attribute->name, "user") == 0 &&



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