diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-17 03:23:04 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-17 03:23:04 +0000 |
commit | 7412c41af1295713c55f7f583341be38c57d6e39 (patch) | |
tree | 018ca1c8c1db42fffe8ce0c5ef9d95003c9e3bcd /Python/compile.c | |
parent | f0f24aa8ee5dd692059d5d833150c893c7edd5a1 (diff) | |
download | cpython-7412c41af1295713c55f7f583341be38c57d6e39.tar.gz |
remove unused 'encoding' member from the compiler struct
Diffstat (limited to 'Python/compile.c')
-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 0a83bfce31..29cd950553 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: |