From 4db6127658049908b8f09c9170330ad26fbc1e58 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 19 Nov 2015 19:50:51 +0100 Subject: [PATCH] pngread: avoid clang warning for unreachable code ``` pngread.c:2841:10: warning: 'break' will never be executed [-Wunreachable-code-break] break; ^~~~~ ``` --- pngread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/pngread.c b/pngread.c index 48aae8488..9cb4d2e41 100644 --- a/pngread.c +++ b/pngread.c @@ -2838,7 +2838,6 @@ png_image_read_colormap(png_voidp argument) default: png_error(png_ptr, "invalid PNG color type"); /*NOT REACHED*/ - break; } /* Now deal with the output processing */