]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix compiler errors for unused variables in marshal.c (GH-26977)
authorPablo Galindo <Pablogsal@gmail.com>
Wed, 30 Jun 2021 20:55:57 +0000 (21:55 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Jun 2021 20:55:57 +0000 (21:55 +0100)
Python/marshal.c

index 182dee7966aa87582ab9a4e040e0d9b75dd3daed..6c08189cca29b2a386a774b22e6ec1e34ebc1d04 100644 (file)
@@ -1371,8 +1371,6 @@ r_object(RFILE *p)
             if (exceptiontable == NULL)
                 goto code_error;
 
-            Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(localsplusnames);
-
             struct _PyCodeConstructor con = {
                 .filename = filename,
                 .name = name,