[gnome-logs] Declare "GError *error" in gl_journal_get_boots



commit 13cb18f36fd5c4cd9e570bc071f9079659bf6450
Author: Jonathan Kang <jonathan121537 gmail com>
Date:   Wed Feb 24 18:01:08 2016 +0800

    Declare "GError *error" in gl_journal_get_boots

 src/gl-journal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-journal.c b/src/gl-journal.c
index 0b56e46..9afb1fe 100644
--- a/src/gl-journal.c
+++ b/src/gl-journal.c
@@ -159,6 +159,7 @@ gl_journal_get_boots (GlJournal *journal)
     {
         gchar *boot_match;
         gchar *id;
+        GError *error = NULL;
         GlJournalBootID boot_id;
 
         sd_journal_flush_matches (priv->journal);


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