[gnome-software] systemd updates: Don't return unitialized memory



commit ca18773be5dd990a36a0adf3482ea505f92e0448
Author: Kalev Lember <kalevlember gmail com>
Date:   Mon Sep 15 17:03:46 2014 +0200

    systemd updates: Don't return unitialized memory

 src/plugins/gs-plugin-systemd-updates.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-systemd-updates.c b/src/plugins/gs-plugin-systemd-updates.c
index ad23dd6..3adad93 100644
--- a/src/plugins/gs-plugin-systemd-updates.c
+++ b/src/plugins/gs-plugin-systemd-updates.c
@@ -99,7 +99,7 @@ gs_plugin_add_updates (GsPlugin *plugin,
 {
        GError *error_local = NULL;
        GsApp *app;
-       gboolean ret;
+       gboolean ret = TRUE;
        gchar **package_ids = NULL;
        gchar **split;
        guint i;


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