Fixed compiler warnings about unreferenced formal parameters when FT_CONFIG_OPTION_INCREMENTAL is not defined.
diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c
index a86f218..5ba5b80 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 9193d8e..4e5da87 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;