diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-11 11:40:00 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-03-11 11:40:00 +0100 |
commit | ea53555f2d6254da5fec0c1061899a01dd5321ec (patch) | |
tree | 6054edcf85ce8b1e70b3f6123188bf9f21b1eec1 /plugins/check_curl.c | |
parent | 4e7f81fddb9d76491ad3443569d1ecbd844d38f6 (diff) | |
download | monitoring-plugins-ea53555f2d6254da5fec0c1061899a01dd5321ec.tar.gz |
check_curl: removed a superflous variable
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r-- | plugins/check_curl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index cc17ef58..e5be1ad5 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -388,7 +388,6 @@ lookup_host (const char *host, char *buf, size_t buflen) | |||
388 | size_t addrstr_len; | 388 | size_t addrstr_len; |
389 | int errcode; | 389 | int errcode; |
390 | void *ptr; | 390 | void *ptr; |
391 | int s; | ||
392 | size_t buflen_remaining = buflen - 1; | 391 | size_t buflen_remaining = buflen - 1; |
393 | 392 | ||
394 | memset (&hints, 0, sizeof (hints)); | 393 | memset (&hints, 0, sizeof (hints)); |