[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 8 05:20:03 UTC 2020


 src/ftglue.c |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

New commits:
commit 4a1cf888cf94355f69cc31e2c219d1abe98327c2
Author: Ben Wagner <bungeman at chromium.org>
Date:   Mon Jul 6 17:28:19 2020 -0400

    Replace FT_UNUSED with FC_UNUSED.
    
    FreeType is trying to hide FT_UNUSED, so use FC_UNUSED instead.

diff --git a/src/ftglue.c b/src/ftglue.c
index 0e02bd2..7490a8c 100644
--- a/src/ftglue.c
+++ b/src/ftglue.c
@@ -229,13 +229,10 @@ ftglue_face_goto_table( FT_Face    face,
 
     for ( nn = 0; nn < count; nn++ )
     {
-      FT_ULong  tag      = GET_ULong();
-      FT_ULong  checksum = GET_ULong();
-      FT_ULong  start    = GET_ULong();
-      FT_ULong  size     = GET_ULong();
-
-      FT_UNUSED(checksum);
-      FT_UNUSED(size);
+      FT_ULong  tag                = GET_ULong();
+      FT_ULong  checksum FC_UNUSED = GET_ULong();
+      FT_ULong  start              = GET_ULong();
+      FT_ULong  size     FC_UNUSED = GET_ULong();
 
       if ( tag == the_tag )
       {


More information about the Fontconfig mailing list