summaryrefslogtreecommitdiff
path: root/src/shared/calendarspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/calendarspec.c')
-rw-r--r--src/shared/calendarspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
index 3cddb0eed0..c2eae3f139 100644
--- a/src/shared/calendarspec.c
+++ b/src/shared/calendarspec.c
@@ -738,7 +738,7 @@ fail:
static int find_matching_component(const CalendarComponent *c, int *val) {
const CalendarComponent *n;
- int d;
+ int d = -1;
bool d_set = false;
int r;