mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-19 14:50:40 +02:00
Remove dead-code (useless n++).
This commit is contained in:
parent
f05248faef
commit
f1d98d27a6
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue