fix some coverity warnings

This commit is contained in:
Miroslav Lichvar
2017-01-09 13:43:26 +01:00
parent 8f7ab95ff0
commit a7802e9a76
3 changed files with 8 additions and 4 deletions

View File

@@ -158,7 +158,8 @@ set_sync_status(int synchronised, double est_error, double max_error)
txc.esterror = est_error * 1.0e6;
txc.maxerror = max_error * 1.0e6;
SYS_Timex_Adjust(&txc, 1);
if (SYS_Timex_Adjust(&txc, 1) < 0)
;
}
/* ================================================== */