[evolution] Fix uninitialized variable in cal_comp_is_on_server().
- From: Matthew Barnes <mbarnes src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution] Fix uninitialized variable in cal_comp_is_on_server().
 
- Date: Mon,  9 Sep 2013 13:25:53 +0000 (UTC)
 
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]