<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>Eric S. Raymond pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4">12d0c18e</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2015-11-22T15:27:03Z</i>
</div>
<pre class='commit-message'>Explicit unused declarations everywhere. A step towaeds being -Wextra clean.
Also, avoid a -Wextra warning in ignore-macro declrations.</pre>
</li>
</ul>
<h4>63 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
include/ntp_io.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
libisc/include/isc/util.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
libisc/log.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
libntp/a_md5encrypt.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
libntp/audio.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
libntp/icom.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-6'>
libntp/ntp_intres.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-7'>
libparse/clk_computime.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-8'>
libparse/clk_dcf7000.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-9'>
libparse/clk_hopf6021.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-10'>
libparse/clk_meinberg.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-11'>
libparse/clk_rawdcf.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-12'>
libparse/clk_rcc8000.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-13'>
libparse/clk_schmid.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-14'>
libparse/clk_sel240x.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-15'>
libparse/clk_trimtaip.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-16'>
libparse/clk_trimtsip.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-17'>
libparse/clk_varitext.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-18'>
libparse/clk_wharton.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-19'>
libparse/ieee754io.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-20'>
libparse/parse.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-21'>
ntpd/ntp_config.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-22'>
ntpd/ntp_control.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-23'>
ntpd/ntp_io.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-24'>
ntpd/ntp_loopfilter.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-25'>
ntpd/ntp_proto.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-26'>
ntpd/ntp_refclock.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-27'>
ntpd/ntp_timer.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-28'>
ntpd/ntpd.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-29'>
ntpd/refclock_acts.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-30'>
ntpd/refclock_arbiter.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-31'>
ntpd/refclock_arc.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-32'>
ntpd/refclock_as2201.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-33'>
ntpd/refclock_atom.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-34'>
ntpd/refclock_chu.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-35'>
ntpd/refclock_dumbclock.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-36'>
ntpd/refclock_gpsdjson.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-37'>
ntpd/refclock_hopfpci.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-38'>
ntpd/refclock_hopfser.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-39'>
ntpd/refclock_hpgps.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-40'>
ntpd/refclock_irig.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-41'>
ntpd/refclock_jjy.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-42'>
ntpd/refclock_jupiter.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-43'>
ntpd/refclock_local.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-44'>
ntpd/refclock_mx4200.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-45'>
ntpd/refclock_neoclock4x.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-46'>
ntpd/refclock_nmea.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-47'>
ntpd/refclock_oncore.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-48'>
ntpd/refclock_palisade.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-49'>
ntpd/refclock_parse.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-50'>
ntpd/refclock_pcf.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-51'>
ntpd/refclock_spectracom.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-52'>
ntpd/refclock_true.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-53'>
ntpd/refclock_tsyncpci.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-54'>
ntpd/refclock_zyfer.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-55'>
ntpdig/main.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-56'>
ntpfrob/stepback.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-57'>
ntpfrob/tickadj.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-58'>
ntpq/libntpq.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-59'>
ntpq/ntpq-subs.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-60'>
ntpq/ntpq.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-61'>
ntptime/ntptime.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-62'>
util/hist.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-0'>
<strong>
include/ntp_io.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/include/ntp_io.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/include/ntp_io.h
</span><span style="color: #aaaaaa">@@ -59,6 +59,6 @@ extern void maintain_activefds(int fd, int closing);
</span> #endif
/* hack to ignore GCC Unused Result */
<span style="color: #000000;background-color: #ffdddd">-#define IGNORE(r) do{if(r);}while(0)
</span><span style="color: #000000;background-color: #ddffdd">+#define IGNORE(r) do{if(r){}}while(0)
</span>
#endif /* GUARD_NTP_IO_H */
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-1'>
<strong>
libisc/include/isc/util.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libisc/include/isc/util.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libisc/include/isc/util.h
</span><span style="color: #aaaaaa">@@ -189,7 +189,7 @@
</span> #define RUNTIME_CHECK(cond) ISC_ERROR_RUNTIMECHECK(cond)
/* hack to ignore GCC Unused Result */
<span style="color: #000000;background-color: #ffdddd">-#define ISC_IGNORE(r) do{if(r);}while(0)
</span><span style="color: #000000;background-color: #ddffdd">+#define ISC_IGNORE(r) do{if(r){}}while(0)
</span>
/*%
* Time
</code></pre>
<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-2'>
<strong>
libisc/log.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libisc/log.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libisc/log.c
</span><span style="color: #aaaaaa">@@ -1352,6 +1352,9 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
</span> isc_logchannellist_t *category_channels;
isc_result_t result;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(msgset);
+ UNUSED_ARG(msg);
+
</span> REQUIRE(lctx == NULL || VALID_CONTEXT(lctx));
REQUIRE(category != NULL);
REQUIRE(module != NULL);
</code></pre>
<br>
</li>
<li id='diff-3'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-3'>
<strong>
libntp/a_md5encrypt.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/a_md5encrypt.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/a_md5encrypt.c
</span><span style="color: #aaaaaa">@@ -27,6 +27,7 @@ MD5authencrypt(
</span> u_int len;
EVP_MD_CTX ctx;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(type);
</span> /*
* Compute digest of key concatenated with packet. Note: the
* key type and digest type have been verified when the key
<span style="color: #aaaaaa">@@ -68,6 +69,7 @@ MD5authdecrypt(
</span> u_int len;
EVP_MD_CTX ctx;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(type);
</span> /*
* Compute digest of key concatenated with packet. Note: the
* key type and digest type have been verified when the key
</code></pre>
<br>
</li>
<li id='diff-4'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-4'>
<strong>
libntp/audio.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/audio.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/audio.c
</span><span style="color: #aaaaaa">@@ -118,6 +118,8 @@ audio_config_read(
</span> FILE *fd;
char device[20], line[100], ab[100];
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(c_dev);
+ UNUSED_ARG(i_dev);
</span> snprintf(device, sizeof(device), "%s%d", INIT_FILE, unit);
if ((fd = fopen(device, "r")) == NULL) {
printf("audio_config_read: <%s> NO\n", device);
</code></pre>
<br>
</li>
<li id='diff-5'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-5'>
<strong>
libntp/icom.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/icom.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/icom.c
</span><span style="color: #aaaaaa">@@ -129,6 +129,8 @@ icom_init(
</span> int rc;
int saved_errno;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(trace);
+
</span> fd = tty_open(device, O_RDWR, 0777);
if (fd < 0)
return -1;
</code></pre>
<br>
</li>
<li id='diff-6'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-6'>
<strong>
libntp/ntp_intres.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/ntp_intres.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/ntp_intres.c
</span><span style="color: #aaaaaa">@@ -441,6 +441,10 @@ getaddrinfo_sometime_complete(
</span> const char * fam_spec;
int i;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(context);
+ UNUSED_ARG(rtype);
+ UNUSED_ARG(respsize);
+
</span> gai_req = context;
gai_resp = resp;
<span style="color: #aaaaaa">@@ -728,6 +732,9 @@ getnameinfo_sometime_complete(
</span> time_t time_now;
int again;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rtype);
+ UNUSED_ARG(respsize);
+
</span> gni_req = context;
gni_resp = resp;
<span style="color: #aaaaaa">@@ -990,6 +997,8 @@ should_retry_dns(
</span> char msg[256];
#endif
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(res_errno);
+
</span> /*
* If the resolver failed, see if the failure is
* temporary. If so, return success.
</code></pre>
<br>
</li>
<li id='diff-7'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-7'>
<strong>
libparse/clk_computime.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_computime.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_computime.c
</span><span style="color: #aaaaaa">@@ -80,6 +80,8 @@ cvt_computime(
</span> void *local
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
</span>
if (!Strok(buffer, format->fixed_string)) {
return CVT_NONE;
</code></pre>
<br>
</li>
<li id='diff-8'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-8'>
<strong>
libparse/clk_dcf7000.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_dcf7000.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_dcf7000.c
</span><span style="color: #aaaaaa">@@ -55,7 +55,10 @@ cvt_dcf7000(
</span> void *local
)
{
<span style="color: #000000;background-color: #ffdddd">- if (!Strok(buffer, format->fixed_string))
</span><span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
+
+ if (!Strok(buffer, format->fixed_string))
</span> {
return CVT_NONE;
}
</code></pre>
<br>
</li>
<li id='diff-9'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-9'>
<strong>
libparse/clk_hopf6021.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_hopf6021.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_hopf6021.c
</span><span style="color: #aaaaaa">@@ -134,6 +134,9 @@ cvt_hopf6021(
</span> {
unsigned char status,weekday;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
+
</span> if (!Strok(buffer, format->fixed_string))
{
return CVT_NONE;
</code></pre>
<br>
</li>
<li id='diff-10'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-10'>
<strong>
libparse/clk_meinberg.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_meinberg.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_meinberg.c
</span><span style="color: #aaaaaa">@@ -240,6 +240,10 @@ cvt_meinberg(
</span> {
struct format *format;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(unused);
+ UNUSED_ARG(local);
+
</span> /*
* select automagically correct data format
*/
</code></pre>
<br>
</li>
<li id='diff-11'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-11'>
<strong>
libparse/clk_rawdcf.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_rawdcf.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_rawdcf.c
</span><span style="color: #aaaaaa">@@ -320,6 +320,8 @@ cvt_rawdcf(
</span> * a 200ms pulse would create all zeroes (and probably a frame error)
*/
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(param);
+
</span> for (i = 0; i < BITS; i++)
{
histbuf[i] = 0;
</code></pre>
<br>
</li>
<li id='diff-12'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-12'>
<strong>
libparse/clk_rcc8000.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_rcc8000.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_rcc8000.c
</span><span style="color: #aaaaaa">@@ -71,7 +71,10 @@ cvt_rcc8000(
</span> void *local
)
{
<span style="color: #000000;background-color: #ffdddd">- if (!Strok(buffer, format->fixed_string)) return CVT_NONE;
</span><span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
+
+ if (!Strok(buffer, format->fixed_string)) return CVT_NONE;
</span> #define OFFS(x) format->field_offsets[(x)].offset
#define STOI(x, y) Stoi(&buffer[OFFS(x)], y, format->field_offsets[(x)].length)
if ( STOI(O_DAY, &clock_time->day) ||
</code></pre>
<br>
</li>
<li id='diff-13'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-13'>
<strong>
libparse/clk_schmid.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_schmid.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_schmid.c
</span><span style="color: #aaaaaa">@@ -79,6 +79,9 @@ cvt_schmid(
</span> void *local
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(format);
+ UNUSED_ARG(local);
+
</span> if ((size != 11) || (buffer[10] != (unsigned char)'\375'))
{
return CVT_NONE;
<span style="color: #aaaaaa">@@ -171,6 +174,8 @@ inp_schmid(
</span> {
unsigned int rtc;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(tstamp);
+
</span> parseprintf(DD_PARSE, ("inp_schmid(0x%lx, 0x%x, ...)\n", (long)parseio, ch));
switch ((uint8_t)ch)
</code></pre>
<br>
</li>
<li id='diff-14'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-14'>
<strong>
libparse/clk_sel240x.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_sel240x.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_sel240x.c
</span><span style="color: #aaaaaa">@@ -121,6 +121,9 @@ cvt_sel240x( unsigned char *buffer,
</span> {
unsigned long rc = CVT_NONE;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
+
</span> if( Strok(buffer, format->fixed_string) )
{
struct tm ptime;
</code></pre>
<br>
</li>
<li id='diff-15'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-15'>
<strong>
libparse/clk_trimtaip.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_trimtaip.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_trimtaip.c
</span><span style="color: #aaaaaa">@@ -68,6 +68,9 @@ cvt_trimtaip(
</span> long recv_csum;
int i;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
+
</span> if (!Strok(buffer, format->fixed_string)) return CVT_NONE;
#define OFFS(x) format->field_offsets[(x)].offset
#define STOI(x, y) \
</code></pre>
<br>
</li>
<li id='diff-16'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-16'>
<strong>
libparse/clk_trimtsip.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_trimtsip.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_trimtsip.c
</span><span style="color: #aaaaaa">@@ -190,6 +190,8 @@ cvt_trimtsip(
</span> #define mb(_X_) (buffer[2+(_X_)]) /* shortcut for buffer access */
register uint8_t cmd;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(format);
+
</span> clock_time->flags = 0;
if (!t) {
</code></pre>
<br>
</li>
<li id='diff-17'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-17'>
<strong>
libparse/clk_varitext.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_varitext.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_varitext.c
</span><span style="color: #aaaaaa">@@ -105,6 +105,8 @@ cvt_varitext(
</span> void *local
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(size);
+ UNUSED_ARG(local);
</span>
if (!Strok(buffer, format->fixed_string)) {
return CVT_NONE;
</code></pre>
<br>
</li>
<li id='diff-18'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-18'>
<strong>
libparse/clk_wharton.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/clk_wharton.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/clk_wharton.c
</span><span style="color: #aaaaaa">@@ -75,6 +75,9 @@ cvt_wharton_400a(
</span> {
int i;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(format);
+ UNUSED_ARG(local);
+
</span> /* The given `size' includes a terminating null-character. */
if (size != 15 || buffer[0] != STX || buffer[14] != ETX
|| buffer[13] < '0' || buffer[13] > ('0' + 0xf))
</code></pre>
<br>
</li>
<li id='diff-19'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-19'>
<strong>
libparse/ieee754io.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/ieee754io.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/ieee754io.c
</span><span style="color: #aaaaaa">@@ -391,6 +391,9 @@ put_ieee754(
</span> #endif
/*int length;*/
unsigned long mask;
<span style="color: #000000;background-color: #ddffdd">+
+ UNUSED_ARG(bufpp);
+ UNUSED_ARG(offsets);
</span>
outlfp = *lfpp;
</code></pre>
<br>
</li>
<li id='diff-20'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-20'>
<strong>
libparse/parse.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libparse/parse.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libparse/parse.c
</span><span style="color: #aaaaaa">@@ -542,6 +542,8 @@ syn_simple(
</span> register u_long why
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(format);
+ UNUSED_ARG(why);
</span> parseio->parse_dtime.parse_stime = *ts;
}
<span style="color: #aaaaaa">@@ -558,6 +560,7 @@ pps_simple(
</span> register timestamp_t *ptime
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(status);
</span> parseio->parse_dtime.parse_ptime = *ptime;
parseio->parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS;
<span style="color: #aaaaaa">@@ -774,6 +777,8 @@ parse_getfmt(
</span> parse_t *parse
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(dct);
+ UNUSED_ARG(parse);
</span> if (dct->parseformat.parse_format < nformats &&
Strlen(clockformats[dct->parseformat.parse_format]->name) <= PARSE_TCMAX)
{
</code></pre>
<br>
</li>
<li id='diff-21'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-21'>
<strong>
ntpd/ntp_config.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_config.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_config.c
</span><span style="color: #aaaaaa">@@ -3017,6 +3017,8 @@ config_mdnstries(
</span> #if defined(HAVE_DNS_SD_H) && defined(ENABLE_MDNS_REGISTRATION)
extern int mdnstries;
mdnstries = ptree->mdnstries;
<span style="color: #000000;background-color: #ddffdd">+#else
+ UNUSED_ARG(ptree);
</span> #endif /* ENABLE_MDNS_REGISTRATION */
}
<span style="color: #aaaaaa">@@ -4015,7 +4017,9 @@ unpeer_name_resolved(
</span> u_short af;
const char * fam_spec;
<span style="color: #000000;background-color: #ddffdd">+ (void)gai_errno;
</span> (void)context;
<span style="color: #000000;background-color: #ddffdd">+ (void)service;
</span> (void)hints;
DPRINTF(1, ("unpeer_name_resolved(%s) rescode %d\n", name, rescode));
<span style="color: #aaaaaa">@@ -4829,6 +4833,9 @@ getnetnum(
</span> enum gnn_type a_type /* ignored */
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(complain);
+ UNUSED_ARG(a_type);
+
</span> NTP_REQUIRE(AF_UNSPEC == AF(addr) ||
AF_INET == AF(addr) ||
AF_INET6 == AF(addr));
<span style="color: #aaaaaa">@@ -4860,6 +4867,11 @@ ntp_rlimit(
</span> {
struct rlimit rl;
<span style="color: #000000;background-color: #ddffdd">+#ifndef DEBUG
+ UNUSED_ARG(rl_scale);
+ UNUSED_ARG(rl_sstr);
+#endif
+
</span> switch (rl_what) {
#ifdef RLIMIT_MEMLOCK
case RLIMIT_MEMLOCK:
</code></pre>
<br>
</li>
<li id='diff-22'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-22'>
<strong>
ntpd/ntp_control.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_control.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_control.c
</span><span style="color: #aaaaaa">@@ -2906,6 +2906,9 @@ control_unspec(
</span> {
struct peer *peer;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> /*
* What is an appropriate response to an unspecified op-code?
* I return no errors and no data, unless a specified assocation
<span style="color: #aaaaaa">@@ -2941,6 +2944,8 @@ read_status(
</span> /* a_st holds association ID, status pairs alternating */
u_short a_st[CTL_MAX_DATA_LEN / sizeof(u_short)];
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
</span> #ifdef DEBUG
if (debug > 2)
printf("read_status: ID %d\n", res_associd);
<span style="color: #aaaaaa">@@ -3111,6 +3116,9 @@ read_variables(
</span> int restrict_mask
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> if (res_associd)
read_peervars();
else
<span style="color: #aaaaaa">@@ -3138,6 +3146,9 @@ write_variables(
</span> const char *t;
char *tt;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> val = 0;
/*
* If he's trying to write into a peer tell him no way
<span style="color: #aaaaaa">@@ -4008,6 +4019,8 @@ read_ifstats(
</span> u_int ifidx;
endpt * la;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+
</span> /*
* loop over [0..sys_ifnum] searching ep_list for each
* ifnum in turn.
<span style="color: #aaaaaa">@@ -4164,6 +4177,8 @@ read_addr_restrictions(
</span> {
u_int idx;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+
</span> idx = 0;
send_restrict_list(restrictlist4, false, &idx);
send_restrict_list(restrictlist6, true, &idx);
<span style="color: #aaaaaa">@@ -4187,6 +4202,9 @@ read_ordlist(
</span> struct ntp_control * cpkt;
u_short qdata_octets;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> /*
* CTL_OP_READ_ORDLIST_A was first named CTL_OP_READ_IFSTATS and
* used only for ntpq -c ifstats. With the addition of reslist
<span style="color: #aaaaaa">@@ -4224,6 +4242,8 @@ static void req_nonce(
</span> {
char buf[64];
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(restrict_mask);
+
</span> generate_nonce(rbufp, buf, sizeof(buf));
ctl_putunqstr("nonce", buf, strlen(buf));
ctl_flushpkt(0);
<span style="color: #aaaaaa">@@ -4241,6 +4261,8 @@ read_clockstatus(
</span> )
{
#ifndef REFCLOCK
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
</span> /*
* If no refclock support, no data to return
*/
<span style="color: #aaaaaa">@@ -4257,6 +4279,9 @@ read_clockstatus(
</span> struct ctl_var * kv;
struct refclockstat cs;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> if (res_associd != 0) {
peer = findpeerbyassoc(res_associd);
} else {
<span style="color: #aaaaaa">@@ -4347,6 +4372,9 @@ write_clockstatus(
</span> int restrict_mask
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rbufp);
+ UNUSED_ARG(restrict_mask);
+
</span> ctl_error(CERR_PERMISSION);
}
</code></pre>
<br>
</li>
<li id='diff-23'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-23'>
<strong>
ntpd/ntp_io.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_io.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_io.c
</span><span style="color: #aaaaaa">@@ -1679,6 +1679,10 @@ check_flags6(
</span> close(fd);
if ((ifr6.ifr_ifru.ifru_flags6 & flags6) != 0)
return true;
<span style="color: #000000;background-color: #ddffdd">+#else
+ UNUSED_ARG(psau);
+ UNUSED_ARG(name);
+ UNUSED_ARG(flags6);
</span> #endif /* USE_IPV6_SUPPORT && SIOCGIFAFLAG_IN6 */
return false;
}
<span style="color: #aaaaaa">@@ -1692,6 +1696,8 @@ is_anycast(
</span> #ifdef IN6_IFF_ANYCAST
return check_flags6(psau, name, IN6_IFF_ANYCAST);
#else
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(psau);
+ UNUSED_ARG(name);
</span> return false;
#endif
}
<span style="color: #aaaaaa">@@ -3320,6 +3326,10 @@ fetch_timestamp(
</span> l_fp dts;
#endif
<span style="color: #000000;background-color: #ddffdd">+#ifndef DEBUG_TIMING
+ UNUSED_ARG(rb);
+#endif
+
</span> cmsghdr = CMSG_FIRSTHDR(msghdr);
while (cmsghdr != NULL) {
switch (cmsghdr->cmsg_type)
<span style="color: #aaaaaa">@@ -4361,6 +4371,8 @@ kill_asyncio(
</span> int startfd
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(startfd);
+
</span> BLOCKIO();
/*
</code></pre>
<br>
</li>
<li id='diff-24'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-24'>
<strong>
ntpd/ntp_loopfilter.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_loopfilter.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_loopfilter.c
</span><span style="color: #aaaaaa">@@ -1372,6 +1372,7 @@ pll_trap(
</span> int arg
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(arg);
</span> pll_control = false;
siglongjmp(env, 1);
}
</code></pre>
<br>
</li>
<li id='diff-25'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-25'>
<strong>
ntpd/ntp_proto.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_proto.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_proto.c
</span><span style="color: #aaaaaa">@@ -1565,6 +1565,8 @@ process_packet(
</span> double etemp, ftemp, td;
#endif /* ENABLE_ASYMMETRIC */
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> sys_processed++;
peer->processed++;
p_del = FPTOD(NTOHS_FP(pkt->rootdelay));
<span style="color: #aaaaaa">@@ -3811,6 +3813,10 @@ pool_name_resolved(
</span> struct peer * pool; /* pool solicitor association */
associd_t assoc;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(gai_errno);
+ UNUSED_ARG(service);
+ UNUSED_ARG(hints);
+
</span> if (rescode) {
msyslog(LOG_ERR,
"error resolving pool %s: %s (%d)",
</code></pre>
<br>
</li>
<li id='diff-26'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-26'>
<strong>
ntpd/ntp_refclock.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_refclock.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_refclock.c
</span><span style="color: #aaaaaa">@@ -902,6 +902,10 @@ refclock_ioctl(
</span> u_int lflags /* line discipline flags */
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fd);
+#ifndef DEBUG
+ UNUSED_ARG(lflags);
+#endif /* DEBUG */
</span> /*
* simply return true if no UNIX line discipline is supported
*/
<span style="color: #aaaaaa">@@ -1177,6 +1181,8 @@ refclock_pps(
</span> struct timespec timeout;
double dtemp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(mode);
+
</span> /*
* We require the clock to be synchronized before setting the
* parameters. When the parameters have been set, fetch the
</code></pre>
<br>
</li>
<li id='diff-27'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-27'>
<strong>
ntpd/ntp_timer.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_timer.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_timer.c
</span><span style="color: #aaaaaa">@@ -115,6 +115,8 @@ set_timer_or_die(
</span> const char * setfunc;
int rc;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(ptimer);
+
</span> #ifdef HAVE_TIMER_CREATE
setfunc = "timer_settime";
rc = timer_settime(timer_id, 0, &itimer, NULL);
<span style="color: #aaaaaa">@@ -420,6 +422,8 @@ alarming(
</span> const char *msg = "alarming: initializing TRUE\n";
# endif
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(sig);
+
</span> if (!initializing) {
if (alarm_flag) {
alarm_overflow++;
</code></pre>
<br>
</li>
<li id='diff-28'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-28'>
<strong>
ntpd/ntpd.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntpd.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntpd.c
</span><span style="color: #aaaaaa">@@ -1248,6 +1248,7 @@ moredebug(
</span> {
int saved_errno = errno;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(sig);
</span> if (debug < 255)
{
debug++;
<span style="color: #aaaaaa">@@ -1267,6 +1268,7 @@ lessdebug(
</span> {
int saved_errno = errno;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(sig);
</span> if (debug > 0)
{
debug--;
</code></pre>
<br>
</li>
<li id='diff-29'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-29'>
<strong>
ntpd/refclock_acts.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_acts.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_acts.c
</span><span style="color: #aaaaaa">@@ -292,6 +292,8 @@ acts_shutdown(
</span> struct actsunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Warning: do this only when a call is not in progress.
*/
<span style="color: #aaaaaa">@@ -643,6 +645,8 @@ acts_poll(
</span> struct actsunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* This routine is called at every system poll. All it does is
* set flag1 under certain conditions. The real work is done by
<span style="color: #aaaaaa">@@ -697,6 +701,8 @@ acts_timer(
</span> struct actsunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* This routine implments a timeout which runs for a programmed
* interval. The counter is initialized by the state machine and
</code></pre>
<br>
</li>
<li id='diff-30'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-30'>
<strong>
ntpd/refclock_arbiter.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_arbiter.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_arbiter.c
</span><span style="color: #aaaaaa">@@ -209,6 +209,8 @@ arb_shutdown(
</span> register struct arbunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -434,6 +436,8 @@ arb_poll(
</span> register struct arbunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Time to poll the clock. The Arbiter clock responds to a "B5"
* by returning a timecode in the format specified above.
</code></pre>
<br>
</li>
<li id='diff-31'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-31'>
<strong>
ntpd/refclock_arc.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_arc.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_arc.c
</span><span style="color: #aaaaaa">@@ -547,6 +547,8 @@ dummy_event_handler(
</span> struct peer *peer
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+
</span> #ifdef DEBUG
if(debug) { printf("arc: dummy_event_handler() called.\n"); }
#endif
<span style="color: #aaaaaa">@@ -745,6 +747,8 @@ arc_shutdown(
</span> register struct arcunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> peer->procptr->action = dummy_event_handler;
pp = peer->procptr;
<span style="color: #aaaaaa">@@ -787,6 +791,8 @@ send_slow(
</span> int sl = strlen(s);
int spaceleft = space_left(up);
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fd);
+
</span> #ifdef DEBUG
if(debug > 1) { printf("arc: spaceleft = %d.\n", spaceleft); }
#endif
<span style="color: #aaaaaa">@@ -1421,6 +1427,9 @@ request_time(
</span> {
struct refclockproc *pp = peer->procptr;
register struct arcunit *up = pp->unitptr;
<span style="color: #000000;background-color: #ddffdd">+
+ UNUSED_ARG(unit);
+
</span> #ifdef DEBUG
if(debug) { printf("arc: unit %d: requesting time.\n", unit); }
#endif
</code></pre>
<br>
</li>
<li id='diff-32'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-32'>
<strong>
ntpd/refclock_as2201.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_as2201.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_as2201.c
</span><span style="color: #aaaaaa">@@ -210,6 +210,8 @@ as2201_shutdown(
</span> register struct as2201unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -362,6 +364,8 @@ as2201_poll(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Send a "\r*toc\r" to get things going. We go to great pains
* to avoid changing state, since there may be more than one
</code></pre>
<br>
</li>
<li id='diff-33'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-33'>
<strong>
ntpd/refclock_atom.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_atom.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_atom.c
</span><span style="color: #aaaaaa">@@ -165,6 +165,8 @@ atom_shutdown(
</span> struct refclockproc *pp;
struct ppsunit *up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (up->fddev > 0)
<span style="color: #aaaaaa">@@ -185,6 +187,8 @@ atom_timer(
</span> struct refclockproc *pp;
char tbuf[80];
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (refclock_pps(peer, &up->atom, pp->sloppyclockflag) <= 0)
<span style="color: #aaaaaa">@@ -215,6 +219,8 @@ atom_poll(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Don't wiggle the clock until some other driver has numbered
* the seconds.
</code></pre>
<br>
</li>
<li id='diff-34'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-34'>
<strong>
ntpd/refclock_chu.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_chu.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_chu.c
</span><span style="color: #aaaaaa">@@ -590,6 +590,8 @@ chu_shutdown(
</span> struct chuunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (up == NULL)
<span style="color: #aaaaaa">@@ -1307,6 +1309,8 @@ chu_poll(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
pp->polls++;
}
<span style="color: #aaaaaa">@@ -1328,6 +1332,8 @@ chu_second(
</span> int minset, i;
double dtemp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
</code></pre>
<br>
</li>
<li id='diff-35'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-35'>
<strong>
ntpd/refclock_dumbclock.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_dumbclock.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_dumbclock.c
</span><span style="color: #aaaaaa">@@ -171,6 +171,8 @@ dumbclock_shutdown(
</span> register struct dumbclock_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
</code></pre>
<br>
</li>
<li id='diff-36'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-36'>
<strong>
ntpd/refclock_gpsdjson.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_gpsdjson.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_gpsdjson.c
</span><span style="color: #aaaaaa">@@ -740,6 +740,7 @@ poll_secondary(
</span> clockprocT * const pp ,
gpsd_unitT * const up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(up);
</span> if (pp->coderecv != pp->codeproc) {
/* all is well */
pp->lastref = pp->lastrec;
<span style="color: #aaaaaa">@@ -760,6 +761,8 @@ gpsd_poll(
</span> clockprocT * const pp = peer->procptr;
gpsd_unitT * const up = (gpsd_unitT *)pp->unitptr;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> ++pp->polls;
if (peer == up->pps_peer)
poll_secondary(peer, pp, up);
<span style="color: #aaaaaa">@@ -779,6 +782,10 @@ gpsd_control(
</span> clockprocT * const pp = peer->procptr;
gpsd_unitT * const up = (gpsd_unitT *)pp->unitptr;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+ UNUSED_ARG(in_st);
+ UNUSED_ARG(out_st);
+
</span> if (peer == up->pps_peer) {
DTOLFP(pp->fudgetime1, &up->pps_fudge2);
if ( ! (pp->sloppyclockflag & CLK_FLAG1))
<span style="color: #aaaaaa">@@ -878,6 +885,8 @@ gpsd_timer(
</span> clockprocT * const pp = peer->procptr;
gpsd_unitT * const up = (gpsd_unitT *)pp->unitptr;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> if (peer == up->pps_peer)
timer_secondary(peer, pp, up);
else
<span style="color: #aaaaaa">@@ -1415,6 +1424,8 @@ process_watch(
</span>
const char * path;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rtime);
+
</span> path = json_object_lookup_string(jctx, 0, "device");
if (NULL == path || strcmp(path, up->device))
return;
<span style="color: #aaaaaa">@@ -1445,6 +1456,8 @@ process_version(
</span> const char *release;
uint16_t pvhi, pvlo;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(rtime);
+
</span> /* get protocol version number */
revision = json_object_lookup_string_default(
jctx, 0, "rev", "(unknown)");
</code></pre>
<br>
</li>
<li id='diff-37'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-37'>
<strong>
ntpd/refclock_hopfpci.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_hopfpci.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_hopfpci.c
</span><span style="color: #aaaaaa">@@ -166,6 +166,7 @@ hopfpci_shutdown(
</span> struct peer *peer
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
#ifndef SYS_WINNT
close(fd);
</code></pre>
<br>
</li>
<li id='diff-38'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-38'>
<strong>
ntpd/refclock_hopfser.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_hopfser.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_hopfser.c
</span><span style="color: #aaaaaa">@@ -166,6 +166,8 @@ hopfserial_shutdown (
</span> register struct hopfclock_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
<span style="color: #aaaaaa">@@ -329,6 +331,9 @@ hopfserial_poll (
</span> {
register struct hopfclock_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+
+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
</code></pre>
<br>
</li>
<li id='diff-39'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-39'>
<strong>
ntpd/refclock_hpgps.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_hpgps.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_hpgps.c
</span><span style="color: #aaaaaa">@@ -227,6 +227,8 @@ hpgps_shutdown(
</span> register struct hpgpsunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -601,6 +603,8 @@ hpgps_poll(
</span> register struct hpgpsunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Time to poll the clock. The HP 58503A responds to a
* ":PTIME:TCODE?" by returning a timecode in the format specified
</code></pre>
<br>
</li>
<li id='diff-40'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-40'>
<strong>
ntpd/refclock_irig.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_irig.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_irig.c
</span><span style="color: #aaaaaa">@@ -385,6 +385,8 @@ irig_shutdown(
</span> struct refclockproc *pp;
struct irigunit *up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -749,6 +751,8 @@ irig_baud(
</span> double dtemp;
l_fp ltemp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(bits);
+
</span> pp = peer->procptr;
up = pp->unitptr;
<span style="color: #aaaaaa">@@ -979,6 +983,8 @@ irig_poll(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
if (pp->coderecv == pp->codeproc) {
</code></pre>
<br>
</li>
<li id='diff-41'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-41'>
<strong>
ntpd/refclock_jjy.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_jjy.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_jjy.c
</span><span style="color: #aaaaaa">@@ -1089,6 +1089,7 @@ static struct
</span> static int
jjy_start_tristate_jjy01 ( int unit, struct peer *peer, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: Tristate Ltd. TS-JJY01, TS-JJY02" ) ;
<span style="color: #aaaaaa">@@ -1311,6 +1312,8 @@ jjy_poll_tristate_jjy01 ( int unit, struct peer *peer )
</span> static const char *sFunctionName = "jjy_poll_tristate_jjy01" ;
#endif
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #aaaaaa">@@ -1382,6 +1385,8 @@ jjy_start_cdex_jst2000 ( int unit, struct peer *peer, struct jjyunit *up )
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: C-DEX Co. Ltd. JST2000" ) ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> up->unittype = UNITTYPE_CDEX_JST2000 ;
up->linespeed = SPEED232_CDEX_JST2000 ;
up->linediscipline = LDISC_RAW ;
<span style="color: #aaaaaa">@@ -1490,6 +1495,8 @@ jjy_poll_cdex_jst2000 ( int unit, struct peer *peer )
</span> struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -1545,6 +1552,7 @@ jjy_poll_cdex_jst2000 ( int unit, struct peer *peer )
</span> static int
jjy_start_echokeisokuki_lt2000 ( int unit, struct peer *peer, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: Echo Keisokuki Co. Ltd. LT2000" ) ;
<span style="color: #aaaaaa">@@ -1713,6 +1721,8 @@ jjy_poll_echokeisokuki_lt2000 ( int unit, struct peer *peer )
</span>
char sCmd[2] ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -1760,6 +1770,7 @@ jjy_poll_echokeisokuki_lt2000 ( int unit, struct peer *peer )
</span> static int
jjy_start_citizentic_jjy200 ( int unit, struct peer *peer, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: CITIZEN T.I.C CO. LTD. JJY200" ) ;
<span style="color: #aaaaaa">@@ -1869,6 +1880,7 @@ jjy_receive_citizentic_jjy200 ( struct recvbuf *rbufp )
</span> static void
jjy_poll_citizentic_jjy200 ( int unit, struct peer *peer )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #aaaaaa">@@ -1941,6 +1953,7 @@ static struct
</span> static int
jjy_start_tristate_gpsclock01 ( int unit, struct peer *peer, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: Tristate Ltd. TS-GPS01" ) ;
<span style="color: #aaaaaa">@@ -2197,6 +2210,8 @@ jjy_poll_tristate_gpsclock01 ( int unit, struct peer *peer )
</span> const char *pCmd ;
int iCmdLen ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -2261,6 +2276,7 @@ static struct jjyRawDataBreak seiko_tsys_tdc_300_raw_break [ ] =
</span> static int
jjy_start_seiko_tsys_tdc_300 ( int unit, struct peer *peer, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: SEIKO TIME SYSTEMS TDC-300" ) ;
<span style="color: #aaaaaa">@@ -2449,6 +2465,7 @@ jjy_receive_seiko_tsys_tdc_300 ( struct recvbuf *rbufp )
</span> static void
jjy_poll_seiko_tsys_tdc_300 ( int unit, struct peer *peer )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #aaaaaa">@@ -2643,6 +2660,8 @@ jjy_start_telephone ( int unit, struct peer *peer, struct jjyunit *up )
</span>
jjy_write_clockstats( peer, JJY_CLOCKSTATS_MARK_JJY, "Refclock: Telephone JJY" ) ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> up->unittype = UNITTYPE_TELEPHONE ;
up->linespeed = SPEED232_TELEPHONE ;
up->linediscipline = LDISC_RAW ;
<span style="color: #aaaaaa">@@ -2819,6 +2838,8 @@ jjy_poll_telephone ( int unit, struct peer *peer )
</span> struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -3068,6 +3089,9 @@ teljjy_getDelay ( struct peer *peer, struct jjyunit *up )
</span> static int
teljjy_idle_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_idle_ignore" ) ;
<span style="color: #aaaaaa">@@ -3079,6 +3103,9 @@ teljjy_idle_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_idle_dialout ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_idle_dialout" ) ;
<span style="color: #aaaaaa">@@ -3092,6 +3119,9 @@ teljjy_idle_dialout ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_dial_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_dial_ignore" ) ;
<span style="color: #aaaaaa">@@ -3103,6 +3133,9 @@ teljjy_dial_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_dial_login ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_dial_login" ) ;
<span style="color: #aaaaaa">@@ -3114,6 +3147,9 @@ teljjy_dial_login ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
teljjy_dial_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_dial_disc" ) ;
<span style="color: #aaaaaa">@@ -3125,6 +3161,9 @@ teljjy_dial_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *u
</span> static int
teljjy_login_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_login_ignore" ) ;
<span style="color: #aaaaaa">@@ -3136,6 +3175,9 @@ teljjy_login_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_login_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_login_disc" ) ;
<span style="color: #aaaaaa">@@ -3150,6 +3192,9 @@ teljjy_login_conn ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span>
int i ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+
</span> DEBUG_TELJJY_PRINTF( "teljjy_login_conn" ) ;
up->bLineError = false ;
<span style="color: #aaaaaa">@@ -3172,6 +3217,10 @@ teljjy_login_login ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> char *pCmd ;
int iCmdLen ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
+
</span> DEBUG_TELJJY_PRINTF( "teljjy_login_login" ) ;
/* Send a guest user ID */
<span style="color: #aaaaaa">@@ -3213,6 +3262,10 @@ static int
</span> teljjy_login_error ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
+
</span> DEBUG_TELJJY_PRINTF( "teljjy_login_error" ) ;
return TELJJY_CHANGE_CLOCK_STATE ;
<span style="color: #aaaaaa">@@ -3223,6 +3276,9 @@ teljjy_login_error ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_conn_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_conn_ignore" ) ;
<span style="color: #aaaaaa">@@ -3234,6 +3290,9 @@ teljjy_conn_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_conn_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_conn_disc" ) ;
<span style="color: #aaaaaa">@@ -3520,6 +3579,9 @@ teljjy_conn_silent ( struct peer *peer, struct refclockproc *pp, struct jjyunit
</span> static int
teljjy_conn_error ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_conn_error" ) ;
<span style="color: #aaaaaa">@@ -3531,6 +3593,9 @@ teljjy_conn_error ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
teljjy_bye_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_bye_ignore" ) ;
<span style="color: #aaaaaa">@@ -3542,6 +3607,9 @@ teljjy_bye_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
teljjy_bye_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_bye_disc" ) ;
<span style="color: #aaaaaa">@@ -3553,6 +3621,9 @@ teljjy_bye_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> static int
teljjy_bye_modem ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_TELJJY_PRINTF( "teljjy_bye_modem" ) ;
<span style="color: #aaaaaa">@@ -3733,6 +3804,8 @@ modem_connect ( int unit, struct peer *peer )
</span> struct refclockproc *pp;
struct jjyunit *up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -3752,6 +3825,8 @@ modem_disconnect ( int unit, struct peer *peer )
</span> struct refclockproc *pp;
struct jjyunit *up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -3828,6 +3903,8 @@ modem_timer ( int unit, struct peer *peer )
</span> struct refclockproc *pp ;
struct jjyunit *up ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr ;
up = pp->unitptr ;
<span style="color: #aaaaaa">@@ -3895,6 +3972,9 @@ modem_control ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
</span> static int
modem_disc_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_disc_ignore" ) ;
<span style="color: #aaaaaa">@@ -3906,6 +3986,9 @@ modem_disc_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_disc_init ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_disc_init" ) ;
<span style="color: #aaaaaa">@@ -3917,6 +4000,9 @@ modem_disc_init ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> static int
modem_init_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_init_ignore" ) ;
<span style="color: #aaaaaa">@@ -3928,6 +4014,8 @@ modem_init_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_init_start ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
</span>
DEBUG_MODEM_PRINTF( "modem_init_start" ) ;
<span style="color: #aaaaaa">@@ -4065,6 +4153,9 @@ modem_init_resp04 ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_init_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_init_disc" ) ;
#ifdef DEBUG
<span style="color: #aaaaaa">@@ -4081,6 +4172,9 @@ modem_init_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> static int
modem_dial_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_dial_ignore" ) ;
<span style="color: #aaaaaa">@@ -4092,6 +4186,7 @@ modem_dial_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_dial_dialout ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(up);
</span>
char sCmd [ 46 ] ;
int iCmdLen ;
<span style="color: #aaaaaa">@@ -4143,6 +4238,9 @@ modem_dial_escape ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_dial_connect ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_dial_connect" ) ;
<span style="color: #aaaaaa">@@ -4172,6 +4270,9 @@ modem_dial_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> static int
modem_conn_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_conn_ignore" ) ;
<span style="color: #aaaaaa">@@ -4183,6 +4284,9 @@ modem_conn_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_conn_escape ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_conn_escape" ) ;
<span style="color: #aaaaaa">@@ -4194,6 +4298,9 @@ modem_conn_escape ( struct peer *peer, struct refclockproc *pp, struct jjyunit *
</span> static int
modem_esc_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
+ UNUSED_ARG(up);
</span>
DEBUG_MODEM_PRINTF( "modem_esc_ignore" ) ;
<span style="color: #aaaaaa">@@ -4205,6 +4312,7 @@ modem_esc_ignore ( struct peer *peer, struct refclockproc *pp, struct jjyunit *u
</span> static int
modem_esc_escape ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(up);
</span>
char *pCmd ;
int iCmdLen ;
<span style="color: #aaaaaa">@@ -4230,6 +4338,8 @@ modem_esc_escape ( struct peer *peer, struct refclockproc *pp, struct jjyunit *u
</span> static int
modem_esc_data ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+ UNUSED_ARG(pp);
</span>
DEBUG_MODEM_PRINTF( "modem_esc_data" ) ;
<span style="color: #aaaaaa">@@ -4243,7 +4353,6 @@ modem_esc_data ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> static int
modem_esc_silent ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
{
<span style="color: #000000;background-color: #ffdddd">-
</span> DEBUG_MODEM_PRINTF( "modem_esc_silent" ) ;
up->iModemSilentCount ++ ;
<span style="color: #aaaaaa">@@ -4275,6 +4384,8 @@ modem_esc_disc ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up
</span> char *pCmd ;
int iCmdLen ;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(up);
+
</span> DEBUG_MODEM_PRINTF( "modem_esc_disc" ) ;
/* Disconnect */
</code></pre>
<br>
</li>
<li id='diff-42'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-42'>
<strong>
ntpd/refclock_jupiter.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_jupiter.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_jupiter.c
</span><span style="color: #aaaaaa">@@ -225,6 +225,8 @@ jupiter_shutdown(int unit, struct peer *peer)
</span> struct instance *instance;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
instance = pp->unitptr;
if (!instance)
<span style="color: #aaaaaa">@@ -408,6 +410,8 @@ jupiter_poll(int unit, struct peer *peer)
</span> struct instance *instance;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
instance = pp->unitptr;
<span style="color: #aaaaaa">@@ -453,6 +457,10 @@ jupiter_control(
</span> struct instance *instance;
uint8_t sloppyclockflag;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+ UNUSED_ARG(in);
+ UNUSED_ARG(out);
+
</span> pp = peer->procptr;
instance = pp->unitptr;
<span style="color: #aaaaaa">@@ -854,6 +862,8 @@ jupiter_debug(
</span> char buffer[200];
va_list ap;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(function);
+
</span> va_start(ap, fmt);
/*
* Print debug message to stdout
</code></pre>
<br>
</li>
<li id='diff-43'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-43'>
<strong>
ntpd/refclock_local.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_local.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_local.c
</span><span style="color: #aaaaaa">@@ -107,6 +107,8 @@ local_start(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
/*
<span style="color: #aaaaaa">@@ -147,6 +149,8 @@ local_poll(
</span> #endif /* HAVE_KERNEL_PLL ENABLE_LOCKCLOCK */
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Do no evil unless the house is dark or lit with our own lamp.
*/
</code></pre>
<br>
</li>
<li id='diff-44'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-44'>
<strong>
ntpd/refclock_mx4200.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_mx4200.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_mx4200.c
</span><span style="color: #aaaaaa">@@ -206,6 +206,8 @@ mx4200_shutdown(
</span> register struct mx4200unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -547,6 +549,8 @@ mx4200_poll(
</span> register struct mx4200unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
<span style="color: #aaaaaa">@@ -1502,7 +1506,10 @@ mx4200_pps(
</span> static void
mx4200_debug(struct peer *peer, char *fmt, ...)
{
<span style="color: #000000;background-color: #ffdddd">-#ifdef DEBUG
</span><span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(peer);
+#ifndef DEBUG
+ UNUSED_ARG(fmt);
+#else
</span> va_list ap;
if (debug) {
</code></pre>
<br>
</li>
<li id='diff-45'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-45'>
<strong>
ntpd/refclock_neoclock4x.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_neoclock4x.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_neoclock4x.c
</span><span style="color: #aaaaaa">@@ -585,6 +585,8 @@ neoclock4x_poll(int unit,
</span> struct neoclock4x_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
</code></pre>
<br>
</li>
<li id='diff-46'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-46'>
<strong>
ntpd/refclock_nmea.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_nmea.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_nmea.c
</span><span style="color: #aaaaaa">@@ -1107,6 +1107,8 @@ nmea_poll(
</span> struct refclockproc * const pp = peer->procptr;
nmea_unit * const up = (nmea_unit *)pp->unitptr;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Process median filter samples. If none received, declare a
* timeout and keep going.
</code></pre>
<br>
</li>
<li id='diff-47'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-47'>
<strong>
ntpd/refclock_oncore.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_oncore.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_oncore.c
</span><span style="color: #aaaaaa">@@ -780,6 +780,8 @@ oncore_shutdown(
</span> register struct instance *instance;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
instance = pp->unitptr;
<span style="color: #aaaaaa">@@ -1586,6 +1588,8 @@ oncore_get_timestamp(
</span> double dmy;
struct timespec *tsp = 0;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(dt1);
+
</span> int current_mode;
pps_params_t current_params;
struct timespec timeout;
<span style="color: #aaaaaa">@@ -1891,7 +1895,12 @@ oncore_msg_any(
</span> int idx
)
{
<span style="color: #000000;background-color: #ffdddd">-#ifdef ONCORE_VERBOSE_MSG_ANY
</span><span style="color: #000000;background-color: #ddffdd">+#ifndef ONCORE_VERBOSE_MSG_ANY
+ UNUSED_ARG(instance);
+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
+ UNUSED_ARG(idx);
+#else
</span> int i;
const char *fmt = oncore_messages[idx].fmt;
const char *p;
<span style="color: #aaaaaa">@@ -1951,6 +1960,9 @@ oncore_msg_Adef(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(instance);
+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
</span> }
<span style="color: #aaaaaa">@@ -1966,6 +1978,8 @@ oncore_msg_Ag(
</span> {
const char *cp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> cp = "set to";
if (instance->o_state == ONCORE_RUN)
cp = "is";
<span style="color: #aaaaaa">@@ -1989,6 +2003,8 @@ oncore_msg_As(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> instance->ss_lat = buf_w32(&buf[4]);
instance->ss_long = buf_w32(&buf[8]);
instance->ss_ht = buf_w32(&buf[12]);
<span style="color: #aaaaaa">@@ -2011,6 +2027,8 @@ oncore_msg_At(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> instance->saw_At = 1;
if (instance->site_survey == ONCORE_SS_TESTING) {
if (buf[4] == 2) {
<span style="color: #aaaaaa">@@ -2037,6 +2055,8 @@ oncore_msg_Ay(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> if (instance->saw_Ay)
return;
<span style="color: #aaaaaa">@@ -2061,6 +2081,8 @@ oncore_msg_Az(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> if (instance->saw_Az)
return;
<span style="color: #aaaaaa">@@ -2426,6 +2448,7 @@ oncore_msg_Bd(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
</span> oncore_log_f(instance, LOG_NOTICE,
"Bd: Almanac %s, week = %d, t = %d, %d SVs: %x",
((buf[4]) ? "LOADED" : "(NONE)"), buf[5], buf[6],
<span style="color: #aaaaaa">@@ -2454,6 +2477,8 @@ oncore_msg_Bj(
</span> {
const char *cp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> instance->saw_Bj = 1;
switch(buf[4]) {
<span style="color: #aaaaaa">@@ -2493,6 +2518,8 @@ oncore_msg_Bl(
</span> WARN_MINUS
} warn;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> day_now = day_lsf = 0;
cp = NULL; /* keep gcc happy */
<span style="color: #aaaaaa">@@ -2673,6 +2700,8 @@ oncore_msg_CaFaIa(
</span> {
int i;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> if (instance->o_state == ONCORE_TEST_SENT) {
enum antenna_state antenna;
<span style="color: #aaaaaa">@@ -2781,6 +2810,9 @@ oncore_msg_Cf(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
+
</span> if (instance->o_state == ONCORE_RESET_SENT) {
oncore_sendmsg(instance, oncore_cmd_Cg, sizeof(oncore_cmd_Cg)); /* Return to Posn Fix mode */
/* Reset set VP to IDLE */
<span style="color: #aaaaaa">@@ -2870,6 +2902,9 @@ oncore_msg_Cj_id(
</span> char *cp2, Model[21];
const char *cp, *cp1;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
+
</span> /* Write Receiver ID message to clockstats file */
instance->Cj[294] = '\0';
<span style="color: #aaaaaa">@@ -2987,6 +3022,9 @@ oncore_msg_Cj_init(
</span> int mode;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
+
</span> /* The M12 with 1.3 or 2.0 Firmware, loses track of all Satellites and has to
* start again if we go from 0D -> 3D, then loses them again when we
* go from 3D -> 0D. We do this to get a @@Ea message for SHMEM.
<span style="color: #aaaaaa">@@ -3090,6 +3128,7 @@ oncore_msg_Ga(
</span> long lat, lon, ht;
double Lat, Lon, Ht;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
</span>
lat = buf_w32(&buf[4]);
lon = buf_w32(&buf[8]);
<span style="color: #aaaaaa">@@ -3128,6 +3167,8 @@ oncore_msg_Gb(
</span> const char * gmts;
int mo, d, y, h, m, s, gmth, gmtm;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> mo = buf[4];
d = buf[5];
y = 256*buf[6]+buf[7];
<span style="color: #aaaaaa">@@ -3158,6 +3199,8 @@ oncore_msg_Gc(
</span> {
const char *tbl[] = {"OFF", "ON", "SATELLITE", "TRAIM" };
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> instance->pps_control_msg_seen = 1;
oncore_log_f(instance, LOG_INFO, "PPS Control set to %s",
tbl[buf[4]]);
<span style="color: #aaaaaa">@@ -3183,6 +3226,8 @@ oncore_msg_Gj(
</span> int dt;
const char *cp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(len);
+
</span> instance->saw_Gj = 1; /* flag, saw_Gj, dont need to try Bj in check_leap */
/* print the message to verify whats there */
<span style="color: #aaaaaa">@@ -3247,6 +3292,9 @@ oncore_msg_Sz(
</span> size_t len
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(buf);
+ UNUSED_ARG(len);
+
</span> if (instance && instance->peer) {
oncore_log(instance, LOG_ERR, "Oncore: System Failure at Power On");
oncore_shutdown(instance->unit, instance->peer);
<span style="color: #aaaaaa">@@ -3619,7 +3667,10 @@ oncore_print_Cb(
</span> uint8_t *cp
)
{
<span style="color: #000000;background-color: #ffdddd">-#ifdef ONCORE_VERBOSE_CB
</span><span style="color: #000000;background-color: #ddffdd">+#ifndef ONCORE_VERBOSE_CB
+ UNUSED_ARG(instance);
+ UNUSED_ARG(cp);
+#else
</span> int ii;
char Msg[160], Msg2[10];
</code></pre>
<br>
</li>
<li id='diff-48'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-48'>
<strong>
ntpd/refclock_palisade.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_palisade.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_palisade.c
</span><span style="color: #aaaaaa">@@ -363,6 +363,9 @@ palisade_shutdown (
</span> {
struct palisade_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+
+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
</code></pre>
<br>
</li>
<li id='diff-49'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-49'>
<strong>
ntpd/refclock_parse.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_parse.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_parse.c
</span><span style="color: #aaaaaa">@@ -1685,6 +1685,8 @@ local_nop(
</span> struct parseunit *parse
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(parse);
+
</span> return true;
}
<span style="color: #aaaaaa">@@ -2476,6 +2478,8 @@ parse_start(
</span> parsectl_t tmp_ctl;
u_int type;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(sysunit);
+
</span> /*
* get out Copyright information once
*/
</code></pre>
<br>
</li>
<li id='diff-50'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-50'>
<strong>
ntpd/refclock_pcf.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_pcf.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_pcf.c
</span><span style="color: #aaaaaa">@@ -115,6 +115,8 @@ pcf_shutdown(
</span> {
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
if (NULL != pp)
close(pp->io.fd);
<span style="color: #aaaaaa">@@ -135,6 +137,8 @@ pcf_poll(
</span> struct tm tm, *tp;
time_t t;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
buf[0] = 0;
</code></pre>
<br>
</li>
<li id='diff-51'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-51'>
<strong>
ntpd/refclock_spectracom.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_spectracom.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_spectracom.c
</span><span style="color: #aaaaaa">@@ -217,6 +217,8 @@ spectracom_shutdown(
</span> struct refclockproc * pp;
struct spectracomunit * up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (-1 != pp->io.fd)
<span style="color: #aaaaaa">@@ -437,6 +439,8 @@ spectracom_timer(
</span> struct peer *peer
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> register struct spectracomunit *up;
struct refclockproc *pp;
char pollchar; /* character sent to clock */
<span style="color: #aaaaaa">@@ -487,6 +491,8 @@ spectracom_poll(
</span> register struct spectracomunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* Sweep up the samples received since the last poll. If none
* are received, declare a timeout and keep going.
<span style="color: #aaaaaa">@@ -550,6 +556,10 @@ spectracom_control(
</span> register struct spectracomunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+ UNUSED_ARG(in_st);
+ UNUSED_ARG(out_st);
+
</span> pp = peer->procptr;
up = pp->unitptr;
</code></pre>
<br>
</li>
<li id='diff-52'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-52'>
<strong>
ntpd/refclock_true.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_true.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_true.c
</span><span style="color: #aaaaaa">@@ -295,6 +295,8 @@ true_shutdown(
</span> register struct true_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (pp->io.fd != -1)
<span style="color: #aaaaaa">@@ -837,6 +839,8 @@ true_poll(
</span> struct true_unit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* You don't need to poll this clock. It puts out timecodes
* once per second. If asked for a timestamp, take note.
</code></pre>
<br>
</li>
<li id='diff-53'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-53'>
<strong>
ntpd/refclock_tsyncpci.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_tsyncpci.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_tsyncpci.c
</span><span style="color: #aaaaaa">@@ -317,6 +317,7 @@ static bool tsync_start(int unit, struct peer *peer)
</span> struct refclockproc *pp;
TsyncUnit *up;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
</span>
/*
** initialize reference clock and peer parameters
<span style="color: #aaaaaa">@@ -368,7 +369,8 @@ static bool tsync_start(int unit, struct peer *peer)
</span> *******************************************************************************/
static void tsync_shutdown(int unit, struct peer *peer)
{
<span style="color: #000000;background-color: #ffdddd">-
</span><span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+ UNUSED_ARG(peer);
</span> } /* End - tsync_shutdown() */
/******************************************************************************
<span style="color: #aaaaaa">@@ -413,6 +415,8 @@ static void tsync_poll(int unit, struct peer *peer)
</span> ReferenceObj * pRefObj;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /* Construct the device name */
snprintf(device, sizeof(device), "%s%d", DEVICE, (int)peer->refclkunit);
</code></pre>
<br>
</li>
<li id='diff-54'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-54'>
<strong>
ntpd/refclock_zyfer.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_zyfer.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_zyfer.c
</span><span style="color: #aaaaaa">@@ -181,6 +181,8 @@ zyfer_shutdown(
</span> register struct zyferunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> pp = peer->procptr;
up = pp->unitptr;
if (pp->io.fd != -1)
<span style="color: #aaaaaa">@@ -307,6 +309,8 @@ zyfer_poll(
</span> register struct zyferunit *up;
struct refclockproc *pp;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(unit);
+
</span> /*
* We don't really do anything here, except arm the receiving
* side to capture a sample and check for timeouts.
</code></pre>
<br>
</li>
<li id='diff-55'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-55'>
<strong>
ntpdig/main.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpdig/main.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpdig/main.c
</span><span style="color: #aaaaaa">@@ -557,6 +557,10 @@ ntpdig_name_resolved(
</span> u_int xmt_delay;
size_t octets;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(name);
+ UNUSED_ARG(service);
+ UNUSED_ARG(hints);
+
</span> xmt_delay_v4 = 0;
xmt_delay_v6 = 0;
dctx = context;
<span style="color: #aaaaaa">@@ -645,6 +649,8 @@ queue_xmt(
</span> struct timeval start_cb;
struct timeval delay;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(dctx);
+
</span> dest = &spkt->addr;
if (IS_IPV6(dest))
pkt_listp = &v6_pkts_list;
<span style="color: #aaaaaa">@@ -720,6 +726,7 @@ xmt_timer_cb(
</span> xmt_ctx * x;
UNUSED_ARG(fd);
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(what);
</span> UNUSED_ARG(ctx);
DEBUG_INSIST(EV_TIMEOUT == what);
<span style="color: #aaaaaa">@@ -954,6 +961,8 @@ sock_cb(
</span> int rpktl;
int rc;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(ptr);
+
</span> INSIST(sock4 == fd || sock6 == fd);
TRACE(3, ("sock_cb: event on sock%s:%s%s%s%s\n",
<span style="color: #aaaaaa">@@ -1102,6 +1111,8 @@ worker_resp_cb(
</span> {
blocking_child * c;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fd);
+ UNUSED_ARG(what);
</span> DEBUG_INSIST(EV_READ & what);
c = ctx;
DEBUG_INSIST(fd == c->resp_read_pipe);
<span style="color: #aaaaaa">@@ -1149,6 +1160,9 @@ worker_timeout(
</span> )
{
UNUSED_ARG(fd);
<span style="color: #000000;background-color: #ddffdd">+#ifndef DEBUG
+ UNUSED_ARG(what);
+#endif /* DEBUG */
</span> UNUSED_ARG(ctx);
DEBUG_REQUIRE(EV_TIMEOUT & what);
<span style="color: #aaaaaa">@@ -1396,6 +1410,10 @@ offset_calculation(
</span> u_fp p_rdly, p_rdsp;
double t21, t34, delta;
<span style="color: #000000;background-color: #ddffdd">+#ifndef DEBUG
+ UNUSED_ARG(rpktl);
+#endif /* DEBUG */
+
</span> /* Convert timestamps from network to host byte order */
p_rdly = NTOHS_FP(rpkt->rootdelay);
p_rdsp = NTOHS_FP(rpkt->rootdisp);
</code></pre>
<br>
</li>
<li id='diff-56'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-56'>
<strong>
ntpfrob/stepback.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpfrob/stepback.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpfrob/stepback.c
</span><span style="color: #aaaaaa">@@ -25,6 +25,8 @@ struct timeval adjustment, result;
</span> static void
timeout(int sig)
{
<span style="color: #000000;background-color: #ddffdd">+ (void)sig;
+
</span> if (adjtime(&adjustment, &result))
printf("adjtime call failed\n");
if (result.tv_sec != 0 || result.tv_usec != 0) {
</code></pre>
<br>
</li>
<li id='diff-57'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-57'>
<strong>
ntpfrob/tickadj.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpfrob/tickadj.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpfrob/tickadj.c
</span><span style="color: #aaaaaa">@@ -28,6 +28,8 @@ static struct timex txc;
</span>
void tickadj(const iomode mode, const int newtick)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(mode);
+
</span> #ifndef HAVE_ADJTIMEX
fputs("ntpfrob: \n", stderr);
exit(1);
</code></pre>
<br>
</li>
<li id='diff-58'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-58'>
<strong>
ntpq/libntpq.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpq/libntpq.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpq/libntpq.c
</span><span style="color: #aaaaaa">@@ -59,6 +59,9 @@ int ntpq_stripquotes ( char *resultbuf, char *srcbuf, int datalen, int maxlen )
</span> {
char* tmpbuf = srcbuf;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(datalen);
+ UNUSED_ARG(maxlen);
+
</span> while ( *tmpbuf != 0 )
{
if ( *tmpbuf == '\"' )
</code></pre>
<br>
</li>
<li id='diff-59'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-59'>
<strong>
ntpq/ntpq-subs.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpq/ntpq-subs.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpq/ntpq-subs.c
</span><span style="color: #aaaaaa">@@ -620,6 +620,7 @@ addvars(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fp);
</span> doaddvlist(g_varlist, pcmd->argval[0].string);
}
<span style="color: #aaaaaa">@@ -634,6 +635,7 @@ rmvars(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fp);
</span> dormvlist(g_varlist, pcmd->argval[0].string);
}
<span style="color: #aaaaaa">@@ -648,6 +650,8 @@ clearvars(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
+ UNUSED_ARG(fp);
</span> doclearvlist(g_varlist);
}
<span style="color: #aaaaaa">@@ -662,6 +666,7 @@ showvars(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> doprintvlist(g_varlist, fp);
}
<span style="color: #aaaaaa">@@ -1314,6 +1319,7 @@ associations(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> if (dogetassoc(fp))
printassoc(0, fp);
}
<span style="color: #aaaaaa">@@ -1329,6 +1335,7 @@ lassociations(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> if (dogetassoc(fp))
printassoc(1, fp);
}
<span style="color: #aaaaaa">@@ -1344,6 +1351,7 @@ passociations(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> printassoc(0, fp);
}
<span style="color: #aaaaaa">@@ -1358,6 +1366,7 @@ lpassociations(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> printassoc(1, fp);
}
<span style="color: #aaaaaa">@@ -2187,6 +2196,8 @@ config (
</span> int col;
int i;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fp);
+
</span> cfgcmd = pcmd->argval[0].string;
if (debug > 2)
<span style="color: #aaaaaa">@@ -2254,6 +2265,8 @@ config_from_file (
</span> int i;
int retry_limit;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(fp);
+
</span> if (debug > 2)
fprintf(stderr,
"In Config\n"
<span style="color: #aaaaaa">@@ -3315,6 +3328,8 @@ ifstats(
</span> bool comprende;
size_t len;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
+
</span> qres = doquery(CTL_OP_READ_ORDLIST_A, 0, true, 0, NULL, &rstatus,
&dsize, &datap);
if (qres) /* message already displayed */
<span style="color: #aaaaaa">@@ -3531,6 +3546,8 @@ reslist(
</span> int comprende;
size_t len;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
+
</span> qres = doquery(CTL_OP_READ_ORDLIST_A, 0, true, qdata_chars,
qdata, &rstatus, &dsize, &datap);
if (qres) /* message already displayed */
<span style="color: #aaaaaa">@@ -3800,6 +3817,7 @@ sysstats(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, sysstats_vdc, false, fp);
}
<span style="color: #aaaaaa">@@ -3831,6 +3849,7 @@ sysinfo(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, sysinfo_vdc, true, fp);
}
<span style="color: #aaaaaa">@@ -3864,6 +3883,7 @@ kerninfo(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, kerninfo_vdc, true, fp);
}
<span style="color: #aaaaaa">@@ -3889,6 +3909,7 @@ monstats(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, monstats_vdc, false, fp);
}
<span style="color: #aaaaaa">@@ -3918,6 +3939,7 @@ iostats(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, iostats_vdc, false, fp);
}
<span style="color: #aaaaaa">@@ -3938,6 +3960,7 @@ timerstats(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, timerstats_vdc, false, fp);
}
<span style="color: #aaaaaa">@@ -3964,6 +3987,7 @@ authinfo(
</span> VDC_INIT(NULL, NULL, 0)
};
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> collect_display_vdc(0, authinfo_vdc, false, fp);
}
</code></pre>
<br>
</li>
<li id='diff-60'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-60'>
<strong>
ntpq/ntpq.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpq/ntpq.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpq/ntpq.c
</span><span style="color: #aaaaaa">@@ -1501,6 +1501,8 @@ abortcmd(
</span> int sig
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(sig);
+
</span> if (current_output == stdout)
(void) fflush(stdout);
putc('\n', stderr);
<span style="color: #aaaaaa">@@ -1854,6 +1856,8 @@ getnetnum(
</span> {
struct addrinfo hints, *ai = NULL;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(af);
+
</span> ZERO(hints);
hints.ai_flags = AI_CANONNAME;
#ifdef AI_ADDRCONFIG
<span style="color: #aaaaaa">@@ -2292,6 +2296,7 @@ ntp_poll(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> (void) fprintf(fp, "poll not implemented yet\n");
}
<span style="color: #aaaaaa">@@ -2453,6 +2458,8 @@ quit(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
+ UNUSED_ARG(fp);
</span> if (havehost)
closesocket(sockfd); /* cleanliness next to godliness */
exit(0);
<span style="color: #aaaaaa">@@ -2470,6 +2477,7 @@ version(
</span> )
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> (void) fprintf(fp, "ntpq %s\n", Version);
return;
}
<span style="color: #aaaaaa">@@ -2484,6 +2492,7 @@ raw(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> rawmode = true;
(void) fprintf(fp, "Output set to raw\n");
}
<span style="color: #aaaaaa">@@ -2499,6 +2508,7 @@ cooked(
</span> FILE *fp
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(pcmd);
</span> rawmode = false;
(void) fprintf(fp, "Output set to cooked\n");
return;
<span style="color: #aaaaaa">@@ -2958,6 +2968,7 @@ rawprint(
</span> const char *cp;
const char *cpend;
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(datatype);
</span> /*
* Essentially print the data as is. We reformat unprintables, though.
*/
</code></pre>
<br>
</li>
<li id='diff-61'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-61'>
<strong>
ntptime/ntptime.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntptime/ntptime.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntptime/ntptime.c
</span><span style="color: #aaaaaa">@@ -414,6 +414,7 @@ pll_trap(
</span> int arg
)
{
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(arg);
</span> pll_control--;
siglongjmp(env, 1);
}
</code></pre>
<br>
</li>
<li id='diff-62'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4#diff-62'>
<strong>
util/hist.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/util/hist.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/util/hist.c
</span><span style="color: #aaaaaa">@@ -31,6 +31,9 @@ main(
</span> int i, j, n;
long t, u, v, w, gtod[NBUF], ovfl[NSRT];
<span style="color: #000000;background-color: #ddffdd">+ UNUSED_ARG(argc);
+ UNUSED_ARG(argv);
+
</span> /*
* Force pages into memory
*/
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/12d0c18ec5dbe7504152f15f6f6f8f8ae3a18fa4"}}</script>
</p>
</div>
</body>
</html>