From de65194b5fd940fbef164757a64412696a60e89f Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Mon, 15 Jan 2018 22:25:05 +0100 Subject: [PATCH] fattal: commented out some unused vars (silence gcc warnings) --- rtengine/tmo_fattal02.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtengine/tmo_fattal02.cc b/rtengine/tmo_fattal02.cc index 9f72ba05d..c1cae20f6 100644 --- a/rtengine/tmo_fattal02.cc +++ b/rtengine/tmo_fattal02.cc @@ -416,8 +416,8 @@ void tmo_fattal02 (size_t width, // msec_timer stop_watch; // stop_watch.start(); // #endif - static const float black_point = 0.1f; - static const float white_point = 0.5f; + // static const float black_point = 0.1f; + // static const float white_point = 0.5f; static const float gamma = 1.0f; // 0.8f; // static const int detail_level = 3; @@ -452,7 +452,7 @@ void tmo_fattal02 (size_t width, int size = width * height; // find max value, normalize to range 0..100 and take logarithm - float minLum = Y (0, 0); + // float minLum = Y (0, 0); float maxLum = Y (0, 0); #pragma omp parallel for reduction(max:maxLum) if(multithread)