From 7aa20102160d9b95f87915fb2091e4a2ddb41890 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 21 Apr 2006 08:38:35 +0000 Subject: [PATCH] * src/sfnt/ttcmap.c: removed compiler warnings (gcc-4.0.2) --- ChangeLog | 2 ++ src/sfnt/ttcmap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ad62c8e2..bef707b98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * include/freetype/ftincrem.h, include/freetype/ftmodapi.h, include/freetype/freetype.h: Documentation update + * src/sfnt/ttcmap.c: removed compiler warnings (gcc-4.0.2) + 2006-04-13 David Turner * src/autofit/afloader.c: removing superfluous code in the auto-fitter's diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c index d8f2ae32e..3a43aedc2 100644 --- a/src/sfnt/ttcmap.c +++ b/src/sfnt/ttcmap.c @@ -2276,7 +2276,7 @@ FT_Byte* cmap = table + offset; volatile FT_UInt format = TT_PEEK_USHORT( cmap ); const TT_CMap_Class* volatile pclazz = tt_cmap_classes; - TT_CMap_Class clazz; + TT_CMap_Class volatile clazz; for ( ; *pclazz; pclazz++ )