Commit c22a9aa245ed03516801a22894a235c88bbc5bc7

Werner Lemberg 2017-03-27T07:57:24

[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.

diff --git a/ChangeLog b/ChangeLog
index 3d782e9..1bc0dde 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/src/pcf/pcfdrivr.c b/src/pcf/pcfdrivr.c
index bc65423..9f4d36d 100644
--- a/src/pcf/pcfdrivr.c
+++ b/src/pcf/pcfdrivr.c
@@ -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 */