mirror of https://github.com/python/cpython
Eliminate duplicated assignment in _randommodule.c (GH-25904)
This commit is contained in:
parent
6fdc4d37f3
commit
23362f8c30
|
@ -597,7 +597,7 @@ _random_exec(PyObject *module)
|
|||
}
|
||||
|
||||
/* Look up and save int.__abs__, which is needed in random_seed(). */
|
||||
PyObject *longval = longval = PyLong_FromLong(0);
|
||||
PyObject *longval = PyLong_FromLong(0);
|
||||
if (longval == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue