From bf228e46a5a474e2431daf3f8c33e6ef6895ccd1 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 17 Jan 2023 15:11:55 +0000 Subject: [PATCH] C++ warning: compound assignment to object of volatile-qualified type 'volatile double' is deprecated --- src/grib_optimize_decimal_factor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_optimize_decimal_factor.c b/src/grib_optimize_decimal_factor.c index 9f183d4a1..f3b5eeaf5 100644 --- a/src/grib_optimize_decimal_factor.c +++ b/src/grib_optimize_decimal_factor.c @@ -16,7 +16,7 @@ static double epsilon() { - volatile double e = 1.; + double e = 1.; while (1. != (1. + e)) { e /= 2; }