timesyncd: use (void) to mark ignored value

CID #1325772.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-01-20 18:55:56 -05:00
parent b07eb677a0
commit baa33e79e3
+2 -1
View File
@@ -372,7 +372,8 @@ static int manager_adjust_clock(Manager *m, double offset, int leap_sec) {
if (r < 0)
return -errno;
touch("/var/lib/systemd/clock");
/* If touch fails, there isn't much we can do. Maybe it'll work next time. */
(void) touch("/var/lib/systemd/clock");
m->drift_ppm = tmx.freq / 65536;