[gimp/metadata-browser] file-gih: Remove unused but set variable
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-gih: Remove unused but set variable
- Date: Fri, 2 Dec 2011 02:02:02 +0000 (UTC)
commit 812b04b7136b5d9b82d3ca94771fd5f89aa3ea49
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 11:12:41 2011 +0530
file-gih: Remove unused but set variable
plug-ins/common/file-gih.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index 47ccef5..283de93 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -437,7 +437,6 @@ gih_load_one_brush (gint fd,
gint32 layer_ID;
GimpDrawable *drawable;
GimpPixelRgn pixel_rgn;
- gint version_extra;
gint bn_size;
GimpImageType image_type;
gint width, height;
@@ -458,16 +457,12 @@ gih_load_one_brush (gint fd,
bh.magic_number = g_ntohl (bh.magic_number);
bh.spacing = g_ntohl (bh.spacing);
- /* How much extra to add to the header seek - 1 needs a bit more */
- version_extra = 0;
-
if (bh.version == 1)
{
/* Version 1 didn't know about spacing */
bh.spacing = 25;
/* And we need to rewind the handle a bit too */
lseek (fd, -8, SEEK_CUR);
- version_extra = 8;
}
/* Version 1 didn't know about magic either */
if ((bh.version != 1 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]