[gnome-software] trivial: Quieten clang



commit 3a75c1f0111fcb14c2163001f760de68a2039fd6
Author: Richard Hughes <richard hughsie com>
Date:   Tue Nov 8 15:04:28 2016 +0000

    trivial: Quieten clang

 src/gs-cmd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-cmd.c b/src/gs-cmd.c
index 7e8eb2d..f4bf40a 100644
--- a/src/gs-cmd.c
+++ b/src/gs-cmd.c
@@ -267,6 +267,7 @@ main (int argc, char **argv)
        plugin_loader = gs_plugin_loader_new ();
        profile = gs_plugin_loader_get_profile (plugin_loader);
        ptask = as_profile_start_literal (profile, "GsCmd");
+       g_assert (ptask != NULL);
        gs_plugin_loader_set_location (plugin_loader, "./plugins/.libs");
        if (plugin_whitelist_str != NULL)
                plugin_whitelist = g_strsplit (plugin_whitelist_str, ",", -1);


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