From 1a5b515ca8204f19ff043cf924700f2f7db2fe0c Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 22 Oct 2001 15:24:32 +0000 Subject: [PATCH] removed bogus warnings --- ChangeLog | 3 +++ include/freetype/config/ftoption.h | 4 ++-- src/pshinter/pshalgo2.c | 6 ------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 091845884..ffc8c0a89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-10-22 David Turner + * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): removed some + bogus warnings.. + * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified the debugging memory manager to report the location (source file name + line number) where leaked memory blocks are allocated in the source diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h index a563db409..06ef56d3c 100644 --- a/include/freetype/config/ftoption.h +++ b/include/freetype/config/ftoption.h @@ -227,8 +227,8 @@ FT_BEGIN_HEADER /* */ /* Don't define any of these macros to compile in `release' mode! */ /* */ -/* #define FT_DEBUG_LEVEL_ERROR */ -/* #define FT_DEBUG_LEVEL_TRACE */ +#define FT_DEBUG_LEVEL_ERROR +#define FT_DEBUG_LEVEL_TRACE /*************************************************************************/ /* */ diff --git a/src/pshinter/pshalgo2.c b/src/pshinter/pshalgo2.c index 869297b84..135e4f76b 100644 --- a/src/pshinter/pshalgo2.c +++ b/src/pshinter/pshalgo2.c @@ -119,12 +119,6 @@ limit = hint_mask->num_bits; - if ( limit != table->max_hints ) - { - FT_ERROR(( "%s.activate_mask: invalid bit count (%d instead of %d)\n", - "ps.fitter", hint_mask->num_bits, table->max_hints )); - } - for ( index = 0; index < limit; index++ ) { if ( mask == 0 )