[ftraster] Minor fixes.

Reported by Tom Bishop <wenlin@wenlin.com>.

* src/raster/ftraster.c (ULong): Remove unused typedef.
(TWorker): Remove unused variable `precision_mask'.
This commit is contained in:
Werner Lemberg 2010-10-28 08:51:15 +02:00
parent f0987abdc2
commit 6a96bbe275
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2010-10-28 Werner Lemberg <wl@gnu.org>
[ftraster] Minor fixes.
Reported by Tom Bishop <wenlin@wenlin.com>.
* src/raster/ftraster.c (ULong): Remove unused typedef.
(TWorker): Remove unused variable `precision_mask'.
2010-10-28 Werner Lemberg <wl@gnu.org>
[ftraster] Fix rendering.

View File

@ -302,7 +302,6 @@
typedef short Short;
typedef unsigned short UShort, *PUShort;
typedef long Long, *PLong;
typedef unsigned long ULong;
typedef unsigned char Byte, *PByte;
typedef char Bool;
@ -448,7 +447,6 @@
Int precision_bits; /* precision related variables */
Int precision;
Int precision_half;
Long precision_mask;
Int precision_shift;
Int precision_step;
Int precision_jitter;
@ -671,7 +669,6 @@
ras.precision = 1 << ras.precision_bits;
ras.precision_half = ras.precision / 2;
ras.precision_shift = ras.precision_bits - Pixel_Bits;
ras.precision_mask = -ras.precision;
}