freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master c22a9aa: [pcf] Fix compiler warnings.


From: Werner LEMBERG
Subject: [freetype2] master c22a9aa: [pcf] Fix compiler warnings.
Date: Mon, 27 Mar 2017 01:58:11 -0400 (EDT)

branch: master
commit c22a9aa245ed03516801a22894a235c88bbc5bc7
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    [pcf] Fix compiler warnings.
    
    Reported by Alexander Hedges <address@hidden>.
    
    * src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
    `property_name' with `FT_UNUSED' where necessary.
---
 ChangeLog          | 9 +++++++++
 src/pcf/pcfdrivr.c | 6 ++++++
 2 files changed, 15 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3d782e9..1bc0dde 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-03-27  Werner Lemberg  <address@hidden>
+
+       [pcf] Fix compiler warnings.
+
+       Reported by Alexander Hedges <address@hidden>.
+
+       * src/pcf/pcfdrivr.c (pcf_property_set, pcf_property_get): Tag
+       `property_name' with `FT_UNUSED' where necessary.
+
 2017-03-26  Werner Lemberg  <address@hidden>
 
        * 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 */
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]