diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-20 21:25:23 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-20 21:25:23 +0000 |
commit | 646694798bfdfa78750ed19d124c6e45711dc880 (patch) | |
tree | a6029890ff7ced43703c4f39bfe553afb21ad2a6 /Python/symtable.c | |
parent | 5405363cbbd707ade2970efdc4b074437382834b (diff) | |
download | cpython-646694798bfdfa78750ed19d124c6e45711dc880.tar.gz |
fix uninitialized struct member #10152
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 4a6c52335b..15ba6b5e2f 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -66,6 +66,7 @@ ste_new(struct symtable *st, identifier name, _Py_block_ty block, ste->ste_varkeywords = 0; ste->ste_opt_lineno = 0; ste->ste_opt_col_offset = 0; + ste->ste_tmpname = 0; ste->ste_lineno = lineno; ste->ste_col_offset = col_offset; |