[gimp/gimp-2-6] file-png: Remove redundant assignment (cherry picked from commit f40453be3c90b6e9157c5b6f25c278948e5



commit e7469007cea6e0e8c0432c172323a2200ee8beda
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 11 10:22:24 2011 +0530

    file-png: Remove redundant assignment
    (cherry picked from commit f40453be3c90b6e9157c5b6f25c278948e5f90b4)

 plug-ins/common/file-png.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index 8f98bec..8fa8983 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -740,10 +740,6 @@ load_image (const gchar  *filename,
       return image;
     }
 
-  /* initialise image here, thus avoiding compiler warnings */
-
-  image = -1;
-
   /*
    * Open the file and initialize the PNG read "engine"...
    */



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