summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-04-29 08:37:05 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-04-29 08:37:05 (GMT)
commit8421d714d030dbd0c368148aa818e15673db3b39 (patch)
tree5f33ea50004ddb9c07dd5ca1dada71c08a38bdee /Objects/setobject.c
parentfa070298e982a39304cb5b6a326b534820d9cad0 (diff)
downloadcpython-8421d714d030dbd0c368148aa818e15673db3b39.zip
cpython-8421d714d030dbd0c368148aa818e15673db3b39.tar.gz
cpython-8421d714d030dbd0c368148aa818e15673db3b39.tar.bz2
Removed unused initialization and the uninteresting comment.
Diffstat (limited to 'Objects/setobject.c')
-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;