[gimp] file-psd: Remove unused but set variable (fill)



commit ea7abb2922dbdc34a29c2c2a359d005b616f2178
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 11:18:22 2011 +0530

    file-psd: Remove unused but set variable (fill)

 plug-ins/file-psd/psd-image-res-load.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/file-psd/psd-image-res-load.c b/plug-ins/file-psd/psd-image-res-load.c
index 5b1b033..a1c4acd 100644
--- a/plug-ins/file-psd/psd-image-res-load.c
+++ b/plug-ins/file-psd/psd-image-res-load.c
@@ -1376,7 +1376,6 @@ load_resource_2000 (const PSDimageres  *res_a,
   gint          image_height;
   gint          i;
   gboolean      closed;
-  gboolean      fill;
 
   /* Load path data from image resources 2000-2998 */
 
@@ -1396,8 +1395,6 @@ load_resource_2000 (const PSDimageres  *res_a,
       IFDBG(1) g_debug ("Unexpected path record type: %d", type);
       return -1;
     }
-  else
-    fill = FALSE;
 
   if (fseek (f, 24, SEEK_CUR) < 0)
     {
@@ -1428,7 +1425,6 @@ load_resource_2000 (const PSDimageres  *res_a,
 
       if (type == PSD_PATH_FILL_RULE)
         {
-          fill = FALSE;
           if (fseek (f, 24, SEEK_CUR) < 0)
             {
               psd_set_error (feof (f), errno, error);
@@ -1443,8 +1439,6 @@ load_resource_2000 (const PSDimageres  *res_a,
               psd_set_error (feof (f), errno, error);
               return -1;
             }
-          if (init_fill != 0)
-            fill = TRUE;
 
           if (fseek (f, 22, SEEK_CUR) < 0)
             {



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