[Git][NTPsec/ntpsec][master] ntpd: 2nd try to fix Slowlaris unused parameter warnings.
Gary E. Miller
gitlab at mg.gitlab.com
Wed May 31 23:38:42 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
f3a8e7b6 by Gary E. Miller at 2017-05-31T16:38:11-07:00
ntpd: 2nd try to fix Slowlaris unused parameter warnings.
- - - - -
1 changed file:
- ntpd/ntp_packetstamp.c
Changes:
=====================================
ntpd/ntp_packetstamp.c
=====================================
--- a/ntpd/ntp_packetstamp.c
+++ b/ntpd/ntp_packetstamp.c
@@ -96,8 +96,8 @@ enable_packetstamps(
}
#else
/* probably Slowlaris */
- UNUSED(fd);
- UNUSED(addr);
+ UNUSED_ARG(fd);
+ UNUSED_ARG(addr);
#endif
}
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f3a8e7b65d76e5b416e1fd67c2465be7e072e452
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/f3a8e7b65d76e5b416e1fd67c2465be7e072e452
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/20170531/00468b53/attachment.html>
More information about the vc
mailing list