diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-06-08 13:16:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 13:16:24 +0100 |
commit | 781dc76577b1810666f4ce04d8fc20d8b43fb374 (patch) | |
tree | 3807c4941c94da455d982fd562058e0be01b68a0 /Python/compile.c | |
parent | d334c73b56756e90c33ce06e3a6ec23271aa099d (diff) | |
download | cpython-git-781dc76577b1810666f4ce04d8fc20d8b43fb374.tar.gz |
Fix compiler errors for unused variables (GH-26601)
Diffstat (limited to 'Python/compile.c')
-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 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; |