]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed unused initialization and the uninteresting comment.
authorRaymond Hettinger <python@rcn.com>
Fri, 29 Apr 2016 08:37:05 +0000 (01:37 -0700)
committerRaymond Hettinger <python@rcn.com>
Fri, 29 Apr 2016 08:37:05 +0000 (01:37 -0700)
Objects/setobject.c

index 3d0f355fe7fe1ce524c0222a30eb1e1490d07097..6dd403f30fa364dfad2a977c1510b03d9544dca0 100644 (file)
@@ -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;