diff Python/ast.c @ 36780:376792bfb57e legacy-trunk

Fix uninitialized value. (Why are we using bools instead of ints, like we do everywhere else?)
author Thomas Wouters <thomas@python.org>
date Wed, 01 Mar 2006 22:06:23 +0000
parents 658f8ff2a442
children 57322cb2ca11
line wrap: on
line diff
--- a/Python/ast.c	Wed Mar 01 21:59:44 2006 +0000
+++ b/Python/ast.c	Wed Mar 01 22:06:23 2006 +0000
@@ -1415,7 +1415,7 @@
             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)