summaryrefslogtreecommitdiff
path: root/pngwrite.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-12-09 20:38:53 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-12-09 20:38:53 -0600
commit5aca6961146cb6177935905a0a1469ef653a4c7b (patch)
tree5c2516bc6e27accf23317b74606053217a0e9106 /pngwrite.c
parentb0673cb50f316651cf27aee7014a0edf3b52eecd (diff)
downloadlibpng-5aca6961146cb6177935905a0a1469ef653a4c7b.tar.gz
[libpng15] Add a "FALL THROUGH" comment in a "case:" statement in pngwrite.c
Diffstat (limited to 'pngwrite.c')
-rw-r--r--pngwrite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pngwrite.c b/pngwrite.c
index 2a72ad33f..4a2b2817a 100644
--- a/pngwrite.c
+++ b/pngwrite.c
@@ -1042,6 +1042,7 @@ png_set_filter(png_structp png_ptr, int method, int filters)
case 5:
case 6:
case 7: png_warning(png_ptr, "Unknown row filter for method 0");
+ /* FALL THROUGH */
#endif /* PNG_WRITE_FILTER_SUPPORTED */
case PNG_FILTER_VALUE_NONE:
png_ptr->do_filter = PNG_FILTER_NONE; break;