Removed unnecessary code

This commit is contained in:
Andrew Murray 2023-01-31 22:24:52 +11:00
parent 4bb50b1fa7
commit 04e8a9b3e7
2 changed files with 3 additions and 5 deletions

View File

@ -1338,8 +1338,6 @@ PyImaging_Jpeg2KEncoderNew(PyObject *self, PyObject *args) {
Py_DECREF(encoder);
return NULL;
}
} else {
context->comment = NULL;
}
if (quality_layers && PySequence_Check(quality_layers)) {