[monitoring-plugins] Remove unused variable from check_http

RincewindsHat git at monitoring-plugins.org
Mon May 8 20:30:15 CEST 2023


 Module: monitoring-plugins
 Branch: master
 Commit: cee364f219ed73c75a4c4bfb5ac148b8a721780c
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Sun Mar  5 15:50:48 2023 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=cee364f

Remove unused variable from check_http

---

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

diff --git a/plugins/check_http.c b/plugins/check_http.c
index 8c03bc8..6956a72 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1391,7 +1391,6 @@ char *unchunk_content(const char *content) {
   // https://en.wikipedia.org/wiki/Chunked_transfer_encoding
   // https://www.rfc-editor.org/rfc/rfc7230#section-4.1
   char *result = NULL;
-  size_t content_length = strlen(content);
   char *start_of_chunk;
   char* end_of_chunk;
   long size_of_chunk;



More information about the Commits mailing list