mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Simplified code
This commit is contained in:
parent
6944e9e183
commit
76e5e12f98
|
@ -1315,8 +1315,7 @@ font_getvaraxes(FontObject *self) {
|
||||||
FT_Done_MM_Var(library, master);
|
FT_Done_MM_Var(library, master);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
PyDict_SetItemString(
|
PyDict_SetItemString(list_axis, "name", axis_name);
|
||||||
list_axis, "name", axis_name ? axis_name : Py_None);
|
|
||||||
Py_DECREF(axis_name);
|
Py_DECREF(axis_name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user