[gegl] ops: Fix compiler reports of unused variables



commit 43fffb725238b17faf43912db20a8d84b61a30f6
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Dec 4 10:50:48 2012 +0530

    ops: Fix compiler reports of unused variables
    
    In save, the variables are commented out as the related code is
    commented out too.

 operations/common/noise-slur.c |    1 -
 operations/common/save.c       |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/noise-slur.c b/operations/common/noise-slur.c
index 2d7aede..fb3d783 100644
--- a/operations/common/noise-slur.c
+++ b/operations/common/noise-slur.c
@@ -79,7 +79,6 @@ process (GeglOperation       *operation,
   gfloat *out_pixel, *in_pixel;
   gint n_pixels = result->width * result->height;
   gint width  = result->width;
-  gint height = result->height;
   GeglRectangle src_rect;
   GRand    *gr;
   gint k, b, i;
diff --git a/operations/common/save.c b/operations/common/save.c
index 2fda2f2..46bea63 100644
--- a/operations/common/save.c
+++ b/operations/common/save.c
@@ -102,8 +102,8 @@ static void
 gegl_save_attach (GeglOperation *operation)
 {
   GeglChant   *self = GEGL_CHANT (operation);
-  const gchar *nodename;
-  gchar       *childname;
+  /* const gchar *nodename; */
+  /* gchar       *childname; */
 
   g_assert (!self->input);
   g_assert (!self->save);



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