[gimp] file-gif-save: Remove dead assignments (and variables)



commit af547cc0c7da393c4214c9024afab73ad9364c02
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]