Remove dead-code (useless n++).

This commit is contained in:
Carl Worth 2004-01-24 01:50:55 +00:00
parent f05248faef
commit f1d98d27a6
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2004-01-24 Carl Worth <cworth@isi.edu>
* src/iccompose.c (IcFetch_transform):
(IcFetcha_transform): Remove dead-code (useless n++).
2004-01-22 Richard Worth <richard@theworths.org>
* src/Makefile.am: Add '-no-undefined' to end of

View file

@ -2245,7 +2245,6 @@ IcFetch_transform (pixman_compositeOperand *op)
pixman_vector_t v;
int x, y;
int minx, maxx, miny, maxy;
int n;
uint32_t rtot, gtot, btot, atot;
uint32_t xerr, yerr;
uint32_t bits;
@ -2297,7 +2296,6 @@ IcFetch_transform (pixman_compositeOperand *op)
lgtot += g * xerr;
lbtot += b * xerr;
latot += a * xerr;
n++;
}
}
xerr = xFixed1 - xerr;
@ -2330,7 +2328,6 @@ IcFetcha_transform (pixman_compositeOperand *op)
pixman_vector_t v;
int x, y;
int minx, maxx, miny, maxy;
int n;
uint32_t rtot, gtot, btot, atot;
uint32_t xerr, yerr;
uint32_t bits;
@ -2382,7 +2379,6 @@ IcFetcha_transform (pixman_compositeOperand *op)
lgtot += g * xerr;
lbtot += b * xerr;
latot += a * xerr;
n++;
}
}
x++;