From 660ddc72f65474b4a16bd8a15d8f5cd1860b401b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 4 Jan 2013 21:51:47 +0100 Subject: Make gcc a bit quieter --- src/shared/calendarspec.c | 2 +- src/shared/util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; diff --git a/src/shared/util.c b/src/shared/util.c index 3f00db7f2c..49b58444c7 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5682,7 +5682,7 @@ oom: } char *strip_tab_ansi(char **ibuf, size_t *_isz) { - const char *i, *begin; + const char *i, *begin = NULL; enum { STATE_OTHER, STATE_ESCAPE, -- cgit v1.2.3-54-g00ecf