summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/setobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 3d0f355..6dd403f 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1043,9 +1043,8 @@ PyDoc_STRVAR(update_doc,
static PyObject *
make_new_set(PyTypeObject *type, PyObject *iterable)
{
- PySetObject *so = NULL;
+ PySetObject *so;
- /* create PySetObject structure */
so = (PySetObject *)type->tp_alloc(type, 0);
if (so == NULL)
return NULL;