Commit 36a086b6306dda5fad01ba17cc3810a82164785e

Alexei Podtelezhnikov 2023-04-28T19:40:35

* src/sfnt/pngshim.c (Load_SBit_Png): Remove FALL_THROUGH warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c
index c7f8a29..3371216 100644
--- a/src/sfnt/pngshim.c
+++ b/src/sfnt/pngshim.c
@@ -406,10 +406,7 @@
 
     switch ( color_type )
     {
-    default:
-      /* Shouldn't happen, but ... */
-      FALL_THROUGH;
-
+    default:  /* Shouldn't happen, but ... */
     case PNG_COLOR_TYPE_RGB_ALPHA:
       png_set_read_user_transform_fn( png, premultiply_data );
       break;