diff options
Diffstat (limited to 'samples/image_diff_png.cc')
-rw-r--r-- | samples/image_diff_png.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/samples/image_diff_png.cc b/samples/image_diff_png.cc index 2ccc3e5c91..8dd597f861 100644 --- a/samples/image_diff_png.cc +++ b/samples/image_diff_png.cc @@ -219,9 +219,6 @@ void DecodeInfoCallback(png_struct* png_ptr, png_info* info_ptr) { state->row_converter = &ConvertRGBtoBGRA; state->output_channels = 4; break; - default: - NOTREACHED(); - break; } } else if (channels == 4) { switch (state->output_format) { @@ -237,9 +234,6 @@ void DecodeInfoCallback(png_struct* png_ptr, png_info* info_ptr) { state->row_converter = &ConvertBetweenBGRAandRGBA; state->output_channels = 4; break; - default: - NOTREACHED(); - break; } } else { NOTREACHED(); @@ -568,10 +562,6 @@ bool EncodeWithCompressionLevel(const unsigned char* input, ColorFormat format, converter = ConvertBetweenBGRAandRGBA; } break; - - default: - NOTREACHED(); - return false; } // Row stride should be at least as long as the length of the data. |