[monitoring-plugins] check_curl: removed some dead code

Andreas Baumann git at monitoring-plugins.org
Sun Jun 3 14:30:17 CEST 2018


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: 50bda03d27649119ca8a71a1ca96b88f1b81e50f
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Sun Jun  3 14:23:10 2018 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=50bda03

check_curl: removed some dead code

---

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

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index aa17d84..4fe8937 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1069,16 +1069,6 @@ redir (curlhelp_write_curlbuf* header_buf)
   check_http ();
 }
 
-#if 0
-
-int main(int argc, char *argv[]) {
-
-	for (; i < argc; i++) {
-
-		}
-		printf("\n");
-#endif
-
 /* check whether a file exists */
 void
 test_file (char *path)



More information about the Commits mailing list