[gnome-packagekit] Remove unused variable
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Remove unused variable
- Date: Mon, 22 Jun 2009 04:37:44 -0400 (EDT)
commit eb6c0ae1ff1c5dbebda39b592dd1adf5b9740be6
Author: Richard Hughes <richard hughsie com>
Date: Fri Jun 19 11:10:20 2009 +0100
Remove unused variable
src/gpk-update-viewer.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 89cac84..3defe77 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -351,7 +351,6 @@ gpk_update_viewer_button_install_cb (GtkWidget *widget, gpointer data)
gboolean ret;
gboolean valid;
gboolean update;
- gboolean selected_all = TRUE;
gboolean selected_any = FALSE;
gchar *package_id;
GError *error = NULL;
@@ -386,10 +385,8 @@ gpk_update_viewer_button_install_cb (GtkWidget *widget, gpointer data)
GPK_UPDATES_COLUMN_CLICKABLE, FALSE,
GPK_UPDATES_COLUMN_SENSITIVE, FALSE, -1);
- /* ay selected? */
- if (!update)
- selected_all = FALSE;
- else
+ /* any selected? */
+ if (update)
selected_any = TRUE;
/* do something with the data */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]