From 6a96bbe2752cf306ddb096a1be69d22888ec57f5 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 28 Oct 2010 08:51:15 +0200 Subject: [PATCH] [ftraster] Minor fixes. Reported by Tom Bishop . * src/raster/ftraster.c (ULong): Remove unused typedef. (TWorker): Remove unused variable `precision_mask'. --- ChangeLog | 9 +++++++++ src/raster/ftraster.c | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 520326513..414eae791 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-10-28 Werner Lemberg + + [ftraster] Minor fixes. + + Reported by Tom Bishop . + + * src/raster/ftraster.c (ULong): Remove unused typedef. + (TWorker): Remove unused variable `precision_mask'. + 2010-10-28 Werner Lemberg [ftraster] Fix rendering. diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c index aa5120810..9638dfb02 100644 --- a/src/raster/ftraster.c +++ b/src/raster/ftraster.c @@ -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; }