Skip to content

Commit

Permalink
Moved line after early return
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Aug 12, 2024
1 parent 700a01c commit 66b6d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_webp.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,13 +784,13 @@ static PyMethodDef webpMethods[] = {

static int
setup_module(PyObject *m) {
PyObject *d = PyModule_GetDict(m);
/* Ready object types */
if (PyType_Ready(&WebPAnimDecoder_Type) < 0 ||
PyType_Ready(&WebPAnimEncoder_Type) < 0) {
return -1;
}

PyObject *d = PyModule_GetDict(m);
PyObject *v = PyUnicode_FromString(WebPDecoderVersion_str());
PyDict_SetItemString(d, "webpdecoder_version", v ? v : Py_None);
Py_XDECREF(v);
Expand Down

0 comments on commit 66b6d18

Please sign in to comment.