diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-17 03:23:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-17 03:23:04 (GMT) |
commit | 5ecf57adcf7148c2334392a2631aa1a0e5791159 (patch) | |
tree | 9357c27ad1a1502e28c98598cfa3a7bf27857329 /Python | |
parent | 3a02624059871dda84c376a94f01a20af5391d2b (diff) | |
download | cpython-5ecf57adcf7148c2334392a2631aa1a0e5791159.zip cpython-5ecf57adcf7148c2334392a2631aa1a0e5791159.tar.gz cpython-5ecf57adcf7148c2334392a2631aa1a0e5791159.tar.bz2 |
remove unused 'encoding' member from the compiler struct
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c index 0a83bfc..29cd950 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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: |