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:
parent
c4b2282fee
commit
4db6127658
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user