[Git][NTPsec/ntpsec][master] Suppress a false-positive Coverity warning.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Sep 12 03:08:45 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
80ed1231 by Eric S. Raymond at 2017-09-12T03:07:58+00:00
Suppress a false-positive Coverity warning.
- - - - -
1 changed file:
- tests/libntp/clocktime.c
Changes:
=====================================
tests/libntp/clocktime.c
=====================================
--- a/tests/libntp/clocktime.c
+++ b/tests/libntp/clocktime.c
@@ -197,7 +197,7 @@ TEST(clocktime, AlwaysInLimit) {
ydayinc = prime_incs[whichprime];
for (hour = -204; hour < 204; hour += 2) {
for (minute = -60; minute < 60; minute++) {
- clocktime(0, yday, hour, minute, 30, 0,
+ (void)clocktime(0, yday, hour, minute, 30, 0,
timestamp, &yearstart, &actual);
diff = actual - timestamp;
if (diff >= 0x80000000UL) {
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/80ed1231167fe52a2ce9002a49bde9bad9f307fa
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/80ed1231167fe52a2ce9002a49bde9bad9f307fa
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170912/bf153deb/attachment.html>
More information about the vc
mailing list