From 23362f8c301f72bbf261b56e1af93e8c52f5b6cf Mon Sep 17 00:00:00 2001 From: Brad Larsen Date: Tue, 4 May 2021 23:41:11 -0400 Subject: Eliminate duplicated assignment in _randommodule.c (GH-25904) --- Modules/_randommodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12