[monitoring-plugins] Remove hardcoded DBL_MAX definition

RincewindsHat git at monitoring-plugins.org
Sat Mar 4 21:10:11 CET 2023


 Module: monitoring-plugins
 Branch: master
 Commit: 7d074091dba8c1d4081971bf62e694d0b1a03d41
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Fri Nov  4 16:53:57 2022 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7d07409

Remove hardcoded DBL_MAX definition

---

 plugins-root/check_icmp.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index abd88c4..0d10d22 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -95,10 +95,6 @@ const char *email = "devel at monitoring-plugins.org";
 # define ICMP_UNREACH_PRECEDENCE_CUTOFF 15
 #endif
 
-#ifndef DBL_MAX
-# define DBL_MAX 9.9999999999e999
-#endif
-
 typedef unsigned short range_t;  /* type for get_range() -- unimplemented */
 
 typedef struct rta_host {



More information about the Commits mailing list