[pcf] Fix compiler warnings.

Reported by Alexander Hedges <ahedges@student.ethz.ch>.

* src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
`property_name' with `FT_UNUSED' where necessary.
This commit is contained in:
Werner Lemberg 2017-03-27 07:57:24 +02:00
parent 3774fc08b5
commit c22a9aa245
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2017-03-27 Werner Lemberg <wl@gnu.org>
[pcf] Fix compiler warnings.
Reported by Alexander Hedges <ahedges@student.ethz.ch>.
* src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
`property_name' with `FT_UNUSED' where necessary.
2017-03-26 Werner Lemberg <wl@gnu.org>
* src/psaux/psobjs.c (t1_builder_close_contour): Add safety guard.

View File

@ -722,6 +722,9 @@ THE SOFTWARE.
FT_UNUSED( module );
FT_UNUSED( value );
FT_UNUSED( value_is_string );
#ifndef FT_DEBUG_LEVEL_TRACE
FT_UNUSED( property_name );
#endif
#endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
@ -757,6 +760,9 @@ THE SOFTWARE.
FT_UNUSED( module );
FT_UNUSED( value );
#ifndef FT_DEBUG_LEVEL_TRACE
FT_UNUSED( property_name );
#endif
#endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */