mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix compiler errors for unused variables (GH-26601)
This commit is contained in:
parent
d334c73b56
commit
781dc76577
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue