diff options
author | Brad Larsen <brad.larsen@trailofbits.com> | 2021-05-05 03:41:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 03:41:11 (GMT) |
commit | 23362f8c301f72bbf261b56e1af93e8c52f5b6cf (patch) | |
tree | 71a45a85fa003a611320fb174472048ffefbe3cf | |
parent | 6fdc4d37f3fdbc1bd51f841be6e5e4708a3b8798 (diff) | |
download | cpython-23362f8c301f72bbf261b56e1af93e8c52f5b6cf.zip cpython-23362f8c301f72bbf261b56e1af93e8c52f5b6cf.tar.gz cpython-23362f8c301f72bbf261b56e1af93e8c52f5b6cf.tar.bz2 |
Eliminate duplicated assignment in _randommodule.c (GH-25904)
-rw-r--r-- | Modules/_randommodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index cae49a0..0137e34 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -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; } |