summaryrefslogtreecommitdiff
path: root/src/type42/t42parse.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2023-02-08 19:36:10 +0100
committerWerner Lemberg <wl@gnu.org>2023-02-08 21:09:32 +0100
commitac5babe87629107c43f627e2cd17c6cf4f2ecd43 (patch)
tree1d44cc939839be7839237e18cd06f92d16f3da20 /src/type42/t42parse.c
parentbe724c8142a3f5381fac436becb842f808f82259 (diff)
downloadfreetype2-ac5babe87629107c43f627e2cd17c6cf4f2ecd43.tar.gz
Fix 'fall-through' warning messages.
Modern compilers get more insistent on that... * include/freetype/internal/compiler-macros.h (FALL_THROUGH): Define. * src/*: Use it instead of `/* fall through */` comments.
Diffstat (limited to 'src/type42/t42parse.c')
-rw-r--r--src/type42/t42parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c
index 78cc8fa1d..6d765c8c1 100644
--- a/src/type42/t42parse.c
+++ b/src/type42/t42parse.c
@@ -733,7 +733,7 @@
ttf_reserved ) )
goto Fail;
}
- /* fall through */
+ FALL_THROUGH;
case BEFORE_TABLE_DIR:
/* the offset table is read; read the table directory */
@@ -785,7 +785,7 @@
ttf_reserved ) )
goto Fail;
}
- /* fall through */
+ FALL_THROUGH;
case OTHER_TABLES:
/* all other tables are just copied */