[evolution-ews] Mute false-positive compiler warning about used uninitialized variable
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Mute false-positive compiler warning about used uninitialized variable
- Date: Mon, 16 Apr 2018 09:00:25 +0000 (UTC)
commit d3f726ae589534d663ce8d6067ab8fc61fa9a4b3
Author: Milan Crha <mcrha redhat com>
Date: Mon Apr 16 11:01:21 2018 +0200
Mute false-positive compiler warning about used uninitialized variable
src/server/e-ews-calendar-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/server/e-ews-calendar-utils.c b/src/server/e-ews-calendar-utils.c
index 19d2e38..c2cd203 100644
--- a/src/server/e-ews-calendar-utils.c
+++ b/src/server/e-ews-calendar-utils.c
@@ -916,8 +916,8 @@ e_ews_cal_utils_convert_recurrence (icalcomponent *icalcomp,
case ICAL_YEARLY_RECURRENCE: {
gint month_index = 1;
- enum month_day_options month_day;
- enum month_num_options month_num;
+ enum month_day_options month_day = MONTH_DAY_NTH;
+ enum month_num_options month_num = MONTH_NUM_DAY;
if (n_by_year_day != 0 ||
n_by_week_no != 0 ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]