Fix uninitialized value. (Why are we using bools instead of ints, like we do
authorThomas Wouters <thomas@python.org>
Wed, 1 Mar 2006 22:06:23 +0000 (22:06 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 1 Mar 2006 22:06:23 +0000 (22:06 +0000)
everywhere else?)

Python/ast.c

index 7edd345fefc89dba15cd853c9e8f950c1e5e427a..4e508ebe8809c2b6fe4a98418fbc6bd84a0df835 100644 (file)
@@ -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)