Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
neonene committed Jan 21, 2024
commit 724f89320c1036878cdc3a771ba0c2ffff434e05
3 changes: 1 addition & 2 deletions Modules/_ctypes/_ctypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,8 @@ StructUnionType_init(PyObject *self, PyObject *args, PyObject *kwds, int isStruc
else {
StgDictObject *basedict = PyType_stgdict((PyObject *)result->tp_base);

if (basedict == NULL) {
if (basedict == NULL)
return 0;
}
/* copy base dict */
if (-1 == PyCStgDict_clone(dict, basedict)) {
return -1;
Expand Down