[gnome-software] trivial: Fix a tiny inefficiency spotted by clang



commit 1d66869b6dd010371bf3fdea31f9c52732b74ef0
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 28 16:30:43 2013 +0000

    trivial: Fix a tiny inefficiency spotted by clang

 src/gs-shell-updates.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 07bab2f..90fdf95 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -385,7 +385,6 @@ gs_shell_updates_list_header_func (GtkListBoxRow *row,
 
        /* first entry */
        gtk_list_box_row_set_header (row, NULL);
-       header = gtk_list_box_row_get_header (row);
        if (before == NULL)
                return;
 


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