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

This commit is contained in:
Mukund Sivaraman 2011-10-03 18:57:48 +05:30
parent af547cc0c7
commit aac5be344f
1 changed files with 0 additions and 18 deletions

View File

@ -1402,7 +1402,6 @@ gif_encode_header (FILE *fp,
int LeftOfs, TopOfs; int LeftOfs, TopOfs;
int Resolution; int Resolution;
int ColorMapSize; int ColorMapSize;
int InitCodeSize;
int i; int i;
ColorMapSize = 1 << BitsPerPixel; ColorMapSize = 1 << BitsPerPixel;
@ -1423,14 +1422,6 @@ gif_encode_header (FILE *fp,
*/ */
Pass = 0; Pass = 0;
/*
* The initial code size
*/
if (BitsPerPixel <= 1)
InitCodeSize = 2;
else
InitCodeSize = BitsPerPixel;
/* /*
* Set up the current x and y position * Set up the current x and y position
*/ */
@ -1502,7 +1493,6 @@ gif_encode_graphic_control_ext (FILE *fp,
{ {
int LeftOfs, TopOfs; int LeftOfs, TopOfs;
int ColorMapSize; int ColorMapSize;
int InitCodeSize;
ColorMapSize = 1 << BitsPerPixel; ColorMapSize = 1 << BitsPerPixel;
@ -1520,14 +1510,6 @@ gif_encode_graphic_control_ext (FILE *fp,
*/ */
Pass = 0; Pass = 0;
/*
* The initial code size
*/
if (BitsPerPixel <= 1)
InitCodeSize = 2;
else
InitCodeSize = BitsPerPixel;
/* /*
* Set up the current x and y position * Set up the current x and y position
*/ */