[evolution-data-server/wip/mcrha/libical-glib] e-cal-recur - Initialize variable which could be used uninitialized otherwise
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/wip/mcrha/libical-glib] e-cal-recur - Initialize variable which could be used uninitialized otherwise
- Date: Tue, 9 Apr 2019 10:42:59 +0000 (UTC)
commit b31f6c7082f3996c7e6157e0ae37c498922b1a6c
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 9 12:44:03 2019 +0200
e-cal-recur - Initialize variable which could be used uninitialized otherwise
src/calendar/libecal/e-cal-recur.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/libecal/e-cal-recur.c b/src/calendar/libecal/e-cal-recur.c
index 53cfbb718..fb81e84da 100644
--- a/src/calendar/libecal/e-cal-recur.c
+++ b/src/calendar/libecal/e-cal-recur.c
@@ -4966,7 +4966,7 @@ e_cal_recur_describe_recurrence (ICalComponent *icalcomp,
{
gchar *prefix = NULL, *mid = NULL, *suffix = NULL, *result = NULL;
ICalProperty *prop;
- ICalRecurrence *rrule;
+ ICalRecurrence *rrule = NULL;
ICalTime *until = NULL, *dtstart = NULL;
gint n_by_second, n_by_minute, n_by_hour;
gint n_by_day, n_by_month_day, n_by_year_day;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]