diff options
author | Thomas Wouters <thomas@python.org> | 2006-03-01 22:06:23 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-03-01 22:06:23 (GMT) |
commit | 65b3dab50e7192b4ad6cae046c3ed15b53752ac4 (patch) | |
tree | ece32092db542dba5084bc582f610b3b3899ea2a | |
parent | 9c54448715d5ba2e6cc661d4b5596f00c006a66e (diff) | |
download | cpython-65b3dab50e7192b4ad6cae046c3ed15b53752ac4.zip cpython-65b3dab50e7192b4ad6cae046c3ed15b53752ac4.tar.gz cpython-65b3dab50e7192b4ad6cae046c3ed15b53752ac4.tar.bz2 |
Fix uninitialized value. (Why are we using bools instead of ints, like we do
everywhere else?)
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c index 7edd345..4e508eb 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1415,7 +1415,7 @@ ast_for_trailer(struct compiling *c, const node *n, expr_ty left_expr) int j; slice_ty slc; expr_ty e; - bool simple; + bool simple = true; asdl_seq *slices, *elts; slices = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena); if (!slices) |