[monitoring-plugins] check_curl: removed a superflous variable

Andreas Baumann git at monitoring-plugins.org
Sat Mar 11 11:40:11 CET 2023


 Module: monitoring-plugins
 Branch: curlfix1845
 Commit: ea53555f2d6254da5fec0c1061899a01dd5321ec
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Sat Mar 11 11:40:00 2023 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ea53555

check_curl: removed a superflous variable

---

 plugins/check_curl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index cc17ef5..e5be1ad 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)
   size_t addrstr_len;
   int errcode;
   void *ptr;
-  int s;
   size_t buflen_remaining = buflen - 1;
 
   memset (&hints, 0, sizeof (hints));



More information about the Commits mailing list