[gnome-software/wip/kalev/gnome-3-22-prep: 38/52] trivial: Drop some dead code



commit d9877db5410e84b3171e604def9bb420db741816
Author: Richard Hughes <richard hughsie com>
Date:   Fri Oct 21 13:53:27 2016 +0100

    trivial: Drop some dead code
    
    (cherry picked from commit 0f920de997cabe8457458d2dd5c430cec4423e92)

 src/plugins/gs-flatpak.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index ff2cc28..3277e31 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -841,13 +841,6 @@ gs_flatpak_add_updates (GsFlatpak *self, GsAppList *list,
        guint i;
        g_autoptr(GPtrArray) xrefs = NULL;
 
-       /* manually drop the cache */
-       if (0&&!flatpak_installation_drop_caches (self->installation,
-                                                 cancellable,
-                                                 error)) {
-               return FALSE;
-       }
-
        /* get all the installed apps (no network I/O) */
        xrefs = flatpak_installation_list_installed_refs (self->installation,
                                                          cancellable,


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