[libpng16] Removed unreachable "break" statements in png.c, pngread.c, and

pngrtran.c to suppress clang warnings (Bug report by Viktor Szakats).
This commit is contained in:
Victor Szakats
2015-08-07 14:31:11 -05:00
committed by Glenn Randers-Pehrson
parent 0e9cd91609
commit 4e1d299e6b
5 changed files with 22 additions and 20 deletions

View File

@@ -976,7 +976,6 @@ png_set_rgb_to_gray_fixed(png_structrp png_ptr, int error_action,
default:
png_error(png_ptr, "invalid error action to rgb_to_gray");
break;
}
if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)