[gnome-software] trivial: Drop some dead code



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

    trivial: Drop some dead code

 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 83b95d5..6320e43 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -917,13 +917,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]