[gegl] opencl/shadows-highlights-correction: Remove unused variable



commit 47bbcce420db53cf82d20ecb64624dbe1081bab0
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Dec 19 08:52:14 2017 +0100

    opencl/shadows-highlights-correction: Remove unused variable

 opencl/shadows-highlights-correction.cl   |    1 -
 opencl/shadows-highlights-correction.cl.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/opencl/shadows-highlights-correction.cl b/opencl/shadows-highlights-correction.cl
index 8322c98..a27f21f 100644
--- a/opencl/shadows-highlights-correction.cl
+++ b/opencl/shadows-highlights-correction.cl
@@ -8,7 +8,6 @@ float3 overlay(const float3 in_a,
   /* a contains underlying image; b contains mask */
 
   const float3 scale = (float3)(100.0f, 128.0f, 128.0f);
-  const float lmin = 0.0f;
   const float lmax = 1.0f;
   const float halfmax = 0.5f;
   const float doublemax = 2.0f;
diff --git a/opencl/shadows-highlights-correction.cl.h b/opencl/shadows-highlights-correction.cl.h
index 7cc06ad..08ae4b2 100644
--- a/opencl/shadows-highlights-correction.cl.h
+++ b/opencl/shadows-highlights-correction.cl.h
@@ -9,7 +9,6 @@ static const char* shadows_highlights_correction_cl_source =
 "  /* a contains underlying image; b contains mask */                          \n"
 "                                                                              \n"
 "  const float3 scale = (float3)(100.0f, 128.0f, 128.0f);                      \n"
-"  const float lmin = 0.0f;                                                    \n"
 "  const float lmax = 1.0f;                                                    \n"
 "  const float halfmax = 0.5f;                                                 \n"
 "  const float doublemax = 2.0f;                                               \n"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]