ref: c22a9aa245ed03516801a22894a235c88bbc5bc7
parent: 3774fc08b502c3e685afca098b6e8a195aded6a0
author: Werner Lemberg <[email protected]>
date: Mon Mar 27 03:57:24 EDT 2017
[pcf] Fix compiler warnings. Reported by Alexander Hedges <[email protected]>. * src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag `property_name' with `FT_UNUSED' where necessary.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-03-27 Werner Lemberg <[email protected]>
+
+ [pcf] Fix compiler warnings.
+
+ Reported by Alexander Hedges <[email protected]>.
+
+ * src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
+ `property_name' with `FT_UNUSED' where necessary.
+
2017-03-26 Werner Lemberg <[email protected]>
* src/psaux/psobjs.c (t1_builder_close_contour): Add safety guard.
--- a/src/pcf/pcfdrivr.c
+++ b/src/pcf/pcfdrivr.c
@@ -722,6 +722,9 @@
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 @@
FT_UNUSED( module );
FT_UNUSED( value );
+#ifndef FT_DEBUG_LEVEL_TRACE
+ FT_UNUSED( property_name );
+#endif
#endif /* !PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */