mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
remove unused 'encoding' member from the compiler struct
This commit is contained in:
parent
3a02624059
commit
5ecf57adcf
1 changed files with 0 additions and 4 deletions
|
@ -140,7 +140,6 @@ struct compiler {
|
|||
|
||||
struct compiler_unit *u; /* compiler state for current block */
|
||||
PyObject *c_stack; /* Python list holding compiler_unit ptrs */
|
||||
char *c_encoding; /* source encoding (a borrowed reference) */
|
||||
PyArena *c_arena; /* pointer to memory allocation arena */
|
||||
};
|
||||
|
||||
|
@ -282,9 +281,6 @@ PyAST_Compile(mod_ty mod, const char *filename, PyCompilerFlags *flags,
|
|||
goto finally;
|
||||
}
|
||||
|
||||
/* XXX initialize to NULL for now, need to handle */
|
||||
c.c_encoding = NULL;
|
||||
|
||||
co = compiler_mod(&c, mod);
|
||||
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue