From 42c616ccff831e9109067afee5f508e70feec28a Mon Sep 17 00:00:00 2001 From: Ilia Gradina Date: Tue, 13 Oct 2026 16:01:22 +0300 Subject: [PATCH] Remove unused variable flagged by cython-lint 0.22 cython-lint 0.22.0 now reports unused cdef locals in inline functions defined in .pxd files, so the Lint job fails on main with fmpz.pxd:25:16: 'w' defined but unused. The variable has been unused since the from_bytes/to_bytes conversion rewrite (f349183). --- src/flint/types/fmpz.pxd | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flint/types/fmpz.pxd b/src/flint/types/fmpz.pxd index 165f8abc..d8b7af60 100644 --- a/src/flint/types/fmpz.pxd +++ b/src/flint/types/fmpz.pxd @@ -22,7 +22,6 @@ cdef inline int fmpz_set_pylong(fmpz_t x, obj): cdef slong longval cdef slong size cdef bytes b - cdef ulong w cdef ulong *words cdef int i