[gimp/metadata-browser] file-gif-save: Remove dead assignments (and variables)
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-gif-save: Remove dead assignments (and variables)
- Date: Fri, 2 Dec 2011 02:04:09 +0000 (UTC)
commit ba8ae80f1e47b365934911357cbfef869cd56f95
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 18:56:14 2011 +0530
file-gif-save: Remove dead assignments (and variables)
plug-ins/common/file-gif-save.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index e1ab340..509c512 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -1576,7 +1576,6 @@ gif_encode_image_data (FILE *fp,
gint offset_x,
gint offset_y)
{
- int RWidth, RHeight;
int LeftOfs, TopOfs;
int Resolution;
int ColorMapSize;
@@ -1586,8 +1585,8 @@ gif_encode_image_data (FILE *fp,
ColorMapSize = 1 << BitsPerPixel;
- RWidth = Width = GWidth;
- RHeight = Height = GHeight;
+ Width = GWidth;
+ Height = GHeight;
LeftOfs = (int) offset_x;
TopOfs = (int) offset_y;
@@ -1657,8 +1656,8 @@ gif_encode_image_data (FILE *fp,
/***************************/
Interlace = GInterlace;
ColorMapSize = 1 << BitsPerPixel;
- RWidth = Width = GWidth;
- RHeight = Height = GHeight;
+ Width = GWidth;
+ Height = GHeight;
LeftOfs = TopOfs = 0;
Resolution = BitsPerPixel;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]