Fixed compiler warnings about unreferenced formal parameters when
FT_CONFIG_OPTION_INCREMENTAL is not defined.
This commit is contained in:
parent
917589d4bd
commit
824daa5881
|
@ -595,6 +595,10 @@
|
||||||
FT_Byte** pointer,
|
FT_Byte** pointer,
|
||||||
FT_ULong length )
|
FT_ULong length )
|
||||||
{
|
{
|
||||||
|
#ifndef FT_CONFIG_OPTION_INCREMENTAL
|
||||||
|
length; /* Prevent compiler warning about unreferenced parameter. */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||||
/* For incremental fonts get the character data using the */
|
/* For incremental fonts get the character data using the */
|
||||||
/* callback function. */
|
/* callback function. */
|
||||||
|
|
|
@ -2049,6 +2049,10 @@
|
||||||
CFF_FontRecDict dict;
|
CFF_FontRecDict dict;
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef FT_CONFIG_OPTION_INCREMENTAL
|
||||||
|
face; /* Prevent compiler warning about unreferenced parameter. */
|
||||||
|
#endif
|
||||||
|
|
||||||
FT_ZERO( font );
|
FT_ZERO( font );
|
||||||
|
|
||||||
font->stream = stream;
|
font->stream = stream;
|
||||||
|
|
Loading…
Reference in New Issue