summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-20 21:25:23 +0000
committerBenjamin Peterson <benjamin@python.org>2010-10-20 21:25:23 +0000
commit646694798bfdfa78750ed19d124c6e45711dc880 (patch)
treea6029890ff7ced43703c4f39bfe553afb21ad2a6 /Python/symtable.c
parent5405363cbbd707ade2970efdc4b074437382834b (diff)
downloadcpython-646694798bfdfa78750ed19d124c6e45711dc880.tar.gz
fix uninitialized struct member #10152
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c1
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;