diff options
author | Carl Worth <cworth@cworth.org> | 2004-01-24 01:50:55 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2004-01-24 01:50:55 +0000 |
commit | f1d98d27a65ec2c7e04a018e69aee44e1d525ed7 (patch) | |
tree | 7b0ba5237aeaa10831b05a0da22be15e616d9488 | |
parent | f05248faefe3d3c2e4445faf373f826ded496b8b (diff) |
Remove dead-code (useless n++).
-rw-r--r-- | pixman/ChangeLog | 5 | ||||
-rw-r--r-- | pixman/src/iccompose.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pixman/ChangeLog b/pixman/ChangeLog index 77509d965..77b11d240 100644 --- a/pixman/ChangeLog +++ b/pixman/ChangeLog @@ -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 diff --git a/pixman/src/iccompose.c b/pixman/src/iccompose.c index 9b02ae52a..0f2413531 100644 --- a/pixman/src/iccompose.c +++ b/pixman/src/iccompose.c @@ -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++; |