1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

timesyncd: use (void) to mark ignored value

CID #1325772.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-01-19 20:25:26 -05:00
parent b07eb677a0
commit baa33e79e3

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;