# HG changeset patch # User bcoudurier # Date 1161530115 0 # Node ID ba767c63a07fb7dc3d3a2485f93880f3a6fe96e4 # Parent 55efd8b39474d154ab4ffc17e144b3d54b552e20 remove unused variables diff -r 55efd8b39474 -r ba767c63a07f gifdec.c --- a/gifdec.c Sun Oct 22 15:11:51 2006 +0000 +++ b/gifdec.c Sun Oct 22 15:15:15 2006 +0000 @@ -224,8 +224,8 @@ static int gif_read_image(GifState *s) { int left, top, width, height, bits_per_pixel, code_size, flags; - int is_interleaved, has_local_palette, y, x, pass, y1, linesize, n, i; - uint8_t *ptr, *line, *d, *spal, *palette, *sptr, *ptr1; + int is_interleaved, has_local_palette, y, pass, y1, linesize, n, i; + uint8_t *ptr, *line, *spal, *palette, *ptr1; left = bytestream_get_le16(&s->bytestream); top = bytestream_get_le16(&s->bytestream); @@ -369,7 +369,7 @@ static int gif_read_header1(GifState *s) { uint8_t sig[6]; - int ret, v, n; + int v, n; int has_global_palette; /* read gif signature */