[gegl] c2g: comment out definition of unused variable



commit 74b611d5d0b104943e472078b27912a761a7fcd5
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Nov 20 16:57:38 2016 +0100

    c2g: comment out definition of unused variable

 operations/common/c2g.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/c2g.c b/operations/common/c2g.c
index 32cfb1e..73b647f 100644
--- a/operations/common/c2g.c
+++ b/operations/common/c2g.c
@@ -81,8 +81,9 @@ static void c2g (GeglOperation       *op,
     GeglBufferIterator *i = gegl_buffer_iterator_new (dst, dst_rect, 0, babl_format("YA float"),
                                                       GEGL_ACCESS_WRITE, GEGL_ABYSS_NONE);
     GeglSampler *sampler = gegl_buffer_sampler_new_at_level (src, format, GEGL_SAMPLER_NEAREST, level);
-
+#if 0
     float total_pix = dst_rect->width * dst_rect->height;
+#endif
     int pix_done = 0.0;
 
     while (gegl_buffer_iterator_next (i))


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