[evolution] Fix uninitialized variable in cal_comp_is_on_server().



commit 6ab15e6412651bdd888d919f4e38395412928cc3
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Sep 9 09:26:38 2013 -0400

    Fix uninitialized variable in cal_comp_is_on_server().

 calendar/gui/comp-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c
index 8ad8bd5..be67211 100644
--- a/calendar/gui/comp-util.c
+++ b/calendar/gui/comp-util.c
@@ -222,7 +222,7 @@ cal_comp_is_on_server (ECalComponent *comp,
 {
        const gchar *uid;
        gchar *rid = NULL;
-       icalcomponent *icalcomp;
+       icalcomponent *icalcomp = NULL;
        GError *error = NULL;
 
        g_return_val_if_fail (comp != NULL, FALSE);


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