[gegl] webp-save: Fix unused variable warning



commit 2281ffbdfd72cc0b6f3830e407a155ed84b0cee8
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Tue Nov 19 10:41:37 2013 -0800

    webp-save: Fix unused variable warning

 operations/external/webp-save.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/operations/external/webp-save.c b/operations/external/webp-save.c
index a5e2c26..67ded6f 100644
--- a/operations/external/webp-save.c
+++ b/operations/external/webp-save.c
@@ -55,7 +55,6 @@ process (GeglOperation       *operation,
   const GeglRectangle *bounds = gegl_buffer_get_extent (input);
 
   FILE* file;
-  gboolean alpha;
   int status;
 
   WebPConfig config;
@@ -64,8 +63,6 @@ process (GeglOperation       *operation,
   if (!WebPConfigPreset (&config, WEBP_PRESET_DEFAULT, o->quality))
     return FALSE;
 
-  alpha = babl_format_has_alpha (gegl_buffer_get_format (input));
-
   if (!WebPValidateConfig (&config))
     return FALSE;
 


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