summaryrefslogtreecommitdiff
path: root/src/psaux/afmparse.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/psaux/afmparse.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/psaux/afmparse.c')
-rw-r--r--src/psaux/afmparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psaux/afmparse.c b/src/psaux/afmparse.c
index 9830970bc..e97abb09e 100644
--- a/src/psaux/afmparse.c
+++ b/src/psaux/afmparse.c
@@ -1061,7 +1061,7 @@
if ( error )
goto Fail;
/* we only support kern data, so ... */
- /* fall through */
+ FALL_THROUGH;
case AFM_TOKEN_ENDFONTMETRICS:
return FT_Err_Ok;