mirror of https://github.com/GNOME/gimp.git
file-gif-save: Remove dead assignments (and variables)
This commit is contained in:
parent
af547cc0c7
commit
aac5be344f
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue