pngread: avoid clang warning for unreachable code

```
pngread.c:2841:10: warning: 'break' will never be executed [-Wunreachable-code-break]
         break;
         ^~~~~
```
This commit is contained in:
Viktor Szakats 2015-11-19 19:50:51 +01:00
parent c4b2282fee
commit 4db6127658

View File

@ -2838,7 +2838,6 @@ png_image_read_colormap(png_voidp argument)
default: default:
png_error(png_ptr, "invalid PNG color type"); png_error(png_ptr, "invalid PNG color type");
/*NOT REACHED*/ /*NOT REACHED*/
break;
} }
/* Now deal with the output processing */ /* Now deal with the output processing */