From 781dc76577b1810666f4ce04d8fc20d8b43fb374 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Tue, 8 Jun 2021 13:16:24 +0100 Subject: Fix compiler errors for unused variables (GH-26601) --- Python/compile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python') diff --git a/Python/compile.c b/Python/compile.c index 056dacf9b6..c97938adaa 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -7192,6 +7192,7 @@ compute_localsplus_info(struct compiler *c, PyObject *names, _PyLocalsPlusKinds kinds) { int nlocalsplus = (int)PyTuple_GET_SIZE(names); + (void)nlocalsplus; // Avoid compiler errors for unused variable PyObject *k, *v; Py_ssize_t pos = 0; -- cgit v1.2.1