diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-08 20:50:17 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-08 20:50:17 (GMT) |
commit | 6a4b9927cb8bf3ca96c83735c97ccb4ca9ddd4e8 (patch) | |
tree | abfcdb464a0757f16cde82f9d17278f6c8569be5 /plugins-root | |
parent | b053278b186b4b9dfacff53b30cc2c7967923724 (diff) | |
download | monitoring-plugins-6a4b9927cb8bf3ca96c83735c97ccb4ca9ddd4e8.tar.gz |
fix unused variables compiler warning
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index f21bf3b..06c8b78 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1216,7 +1216,9 @@ recvfrom_wto(int sock, void *buf, unsigned int len, struct sockaddr *saddr, | |||
1216 | int n, ret; | 1216 | int n, ret; |
1217 | struct timeval to, then, now; | 1217 | struct timeval to, then, now; |
1218 | fd_set rd, wr; | 1218 | fd_set rd, wr; |
1219 | #ifdef HAVE_MSGHDR_MSG_CONTROL | ||
1219 | char ans_data[4096]; | 1220 | char ans_data[4096]; |
1221 | #endif // HAVE_MSGHDR_MSG_CONTROL | ||
1220 | struct msghdr hdr; | 1222 | struct msghdr hdr; |
1221 | struct iovec iov; | 1223 | struct iovec iov; |
1222 | #ifdef SO_TIMESTAMP | 1224 | #ifdef SO_TIMESTAMP |