Remove unused code (#9114)

This commit is contained in:
Hugo van Kemenade 2025-09-04 13:46:44 +03:00 committed by GitHub
commit 29309e4637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {