diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c index a86f2185c..5ba5b80c9 100644 --- a/src/cff/cffgload.c +++ b/src/cff/cffgload.c @@ -595,6 +595,10 @@ FT_Byte** pointer, FT_ULong length ) { +#ifndef FT_CONFIG_OPTION_INCREMENTAL + length; /* Prevent compiler warning about unreferenced parameter. */ +#endif + #ifdef FT_CONFIG_OPTION_INCREMENTAL /* For incremental fonts get the character data using the */ /* callback function. */ diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 9193d8e7b..4e5da877d 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -2049,6 +2049,10 @@ CFF_FontRecDict dict; +#ifndef FT_CONFIG_OPTION_INCREMENTAL + face; /* Prevent compiler warning about unreferenced parameter. */ +#endif + FT_ZERO( font ); font->stream = stream;