[libpng16] Add #ifdef PNG_DEBUG/#endif around normally unreachable code

in pngread.c
This commit is contained in:
Glenn Randers-Pehrson 2015-08-07 14:43:34 -05:00
parent 4e1d299e6b
commit fd8ef4c428

View File

@ -3630,8 +3630,10 @@ png_image_read_background(png_voidp argument)
}
break;
#ifdef PNG_DEBUG
default:
png_error(png_ptr, "unexpected bit depth");
#endif
}
return 1;