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



commit 93dfa4d51dda44a9c7bec2cb82c6cc39a2299b7c
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 18:57:48 2011 +0530

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

 plug-ins/common/file-gif-save.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index 509c512..90f3b77 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -1402,7 +1402,6 @@ gif_encode_header (FILE     *fp,
   int LeftOfs, TopOfs;
   int Resolution;
   int ColorMapSize;
-  int InitCodeSize;
   int i;
 
   ColorMapSize = 1 << BitsPerPixel;
@@ -1424,14 +1423,6 @@ gif_encode_header (FILE     *fp,
   Pass = 0;
 
   /*
-   * The initial code size
-   */
-  if (BitsPerPixel <= 1)
-    InitCodeSize = 2;
-  else
-    InitCodeSize = BitsPerPixel;
-
-  /*
    * Set up the current x and y position
    */
   curx = cury = 0;
@@ -1502,7 +1493,6 @@ gif_encode_graphic_control_ext (FILE    *fp,
 {
   int LeftOfs, TopOfs;
   int ColorMapSize;
-  int InitCodeSize;
 
   ColorMapSize = 1 << BitsPerPixel;
 
@@ -1521,14 +1511,6 @@ gif_encode_graphic_control_ext (FILE    *fp,
   Pass = 0;
 
   /*
-   * The initial code size
-   */
-  if (BitsPerPixel <= 1)
-    InitCodeSize = 2;
-  else
-    InitCodeSize = BitsPerPixel;
-
-  /*
    * Set up the current x and y position
    */
   curx = cury = 0;



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