summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-21 23:25:38 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-21 23:25:38 +0100
commitea3894c1ba26bdfe3f0299dfbe2b767ba92f91dc (patch)
tree43f835c5a094100488de8ef7ee238ab003e49e33 /src/basic
parent714c62b46379abb7558c544665522aca91691e10 (diff)
util-lib: add (void) cast to indicate that we don't care about the normalization success
After all, we verify that every calendar part is not out of bounds later on, and it's fully OK if the normalization has no effect.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/calendarspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/calendarspec.c b/src/basic/calendarspec.c
index 775879076d..07315d73e8 100644
--- a/src/basic/calendarspec.c
+++ b/src/basic/calendarspec.c
@@ -978,7 +978,7 @@ static int find_next(const CalendarSpec *spec, struct tm *tm, usec_t *usec) {
for (;;) {
/* Normalize the current date */
- mktime_or_timegm(&c, spec->utc);
+ (void) mktime_or_timegm(&c, spec->utc);
c.tm_isdst = -1;
c.tm_year += 1900;