Fix compiler errors for unused variables (GH-26601)

This commit is contained in:
Pablo Galindo 2021-06-08 13:16:24 +01:00 committed by GitHub
parent d334c73b56
commit 781dc76577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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;