[gnome-software: 28/38] gs-updates-page: Remove unused variable




commit 05553090b7a884aa97ac2889354c3a4091a21212
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Mar 2 13:02:08 2022 +0000

    gs-updates-page: Remove unused variable
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-updates-page.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gs-updates-page.c b/src/gs-updates-page.c
index 217f8e9f3..abe241f0d 100644
--- a/src/gs-updates-page.c
+++ b/src/gs-updates-page.c
@@ -53,7 +53,6 @@ struct _GsUpdatesPage
        gboolean                 cache_valid;
        guint                    action_cnt;
        GsShell                 *shell;
-       GsPluginStatus           last_status;
        GsUpdatesPageState       state;
        GsUpdatesPageFlags       result_flags;
        GtkWidget               *button_refresh;
@@ -1188,7 +1187,6 @@ gs_updates_page_status_changed_cb (GsPluginLoader *plugin_loader,
                break;
        }
 
-       self->last_status = status;
        gs_updates_page_update_ui_state (self);
 }
 


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