From 454dd98275c324a0ba595ab73ee696699c9cb2c7 Mon Sep 17 00:00:00 2001 From: Brad Larsen Date: Tue, 4 May 2021 16:46:44 -0400 Subject: [PATCH] Eliminate duplicated assignment in _randommodule.c --- Modules/_randommodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index cae49a009cbcc8..0137e34da650a1 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; }