mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-10 06:12:27 +03:00
Remove unused code (#9114)
This commit is contained in:
commit
29309e4637
|
@ -870,8 +870,6 @@ PyImaging_Jpeg2KDecoderNew(PyObject *self, PyObject *args) {
|
||||||
|
|
||||||
if (strcmp(format, "j2k") == 0) {
|
if (strcmp(format, "j2k") == 0) {
|
||||||
codec_format = OPJ_CODEC_J2K;
|
codec_format = OPJ_CODEC_J2K;
|
||||||
} else if (strcmp(format, "jpt") == 0) {
|
|
||||||
codec_format = OPJ_CODEC_JPT;
|
|
||||||
} else if (strcmp(format, "jp2") == 0) {
|
} else if (strcmp(format, "jp2") == 0) {
|
||||||
codec_format = OPJ_CODEC_JP2;
|
codec_format = OPJ_CODEC_JP2;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user