[gnome-software] trivial: Don't show a critical warning when failing to open an AppStream XML file



commit d5cbd2a2d1c8eae33f8fd3788be8fad727032221
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 17 09:14:20 2014 +0000

    trivial: Don't show a critical warning when failing to open an AppStream XML file

 src/plugins/appstream-cache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/appstream-cache.c b/src/plugins/appstream-cache.c
index 4238137..99b328c 100644
--- a/src/plugins/appstream-cache.c
+++ b/src/plugins/appstream-cache.c
@@ -849,6 +849,7 @@ appstream_cache_parse_file (AppstreamCache *cache,
                             APPSTREAM_CACHE_ERROR_FAILED,
                             "cannot process file of type %s",
                             content_type);
+               goto out;
        }
 
        /* add to array to maintain a ref for the lifetime of the AppstreamApp */


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