[Python-checkins] cpython: Removed unused initialization and the uninteresting comment.
raymond.hettinger
python-checkins at python.org
Fri Apr 29 04:37:13 EDT 2016
https://hg.python.org/cpython/rev/988d1c742609
changeset: 101180:988d1c742609
user: Raymond Hettinger <python at rcn.com>
date: Fri Apr 29 01:37:05 2016 -0700
summary:
Removed unused initialization and the uninteresting comment.
files:
Objects/setobject.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1043,9 +1043,8 @@
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;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list