commit | fd8ef4c428f8e35dfe6c7aa956734b68118b05a5 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Fri Aug 07 14:43:34 2015 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Fri Aug 07 14:43:34 2015 -0500 |
tree | 1e9321c47ab383a437c5d831ef0d7e5d332d2f43 | |
parent | 4e1d299e6b6ca5fc6453531c69b29e8d9e186668 [diff] [blame] |
[libpng16] Add #ifdef PNG_DEBUG/#endif around normally unreachable code in pngread.c
diff --git a/pngread.c b/pngread.c index 9cc5510..29cbc00 100644 --- a/pngread.c +++ b/pngread.c
@@ -3630,8 +3630,10 @@ } break; +#ifdef PNG_DEBUG default: png_error(png_ptr, "unexpected bit depth"); +#endif } return 1;