diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-06-08 12:16:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 12:16:24 (GMT) |
commit | 781dc76577b1810666f4ce04d8fc20d8b43fb374 (patch) | |
tree | 3807c4941c94da455d982fd562058e0be01b68a0 /Python | |
parent | d334c73b56756e90c33ce06e3a6ec23271aa099d (diff) | |
download | cpython-781dc76577b1810666f4ce04d8fc20d8b43fb374.zip cpython-781dc76577b1810666f4ce04d8fc20d8b43fb374.tar.gz cpython-781dc76577b1810666f4ce04d8fc20d8b43fb374.tar.bz2 |
Fix compiler errors for unused variables (GH-26601)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index 056dacf..c97938a 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; |