[gimp/gimp-2-6] file-png: Remove redundant assignment (cherry picked from commit f40453be3c90b6e9157c5b6f25c278948e5
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] file-png: Remove redundant assignment (cherry picked from commit f40453be3c90b6e9157c5b6f25c278948e5
- Date: Thu, 17 Nov 2011 16:02:08 +0000 (UTC)
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]