[Python-checkins] r42747 - python/trunk/Python/ast.c

thomas.wouters python-checkins at python.org
Wed Mar 1 23:06:23 CET 2006


Author: thomas.wouters
Date: Wed Mar  1 23:06:23 2006
New Revision: 42747

Modified:
   python/trunk/Python/ast.c
Log:

Fix uninitialized value. (Why are we using bools instead of ints, like we do
everywhere else?)



Modified: python/trunk/Python/ast.c
==============================================================================
--- python/trunk/Python/ast.c	(original)
+++ python/trunk/Python/ast.c	Wed Mar  1 23:06:23 2006
@@ -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)


More information about the Python-checkins mailing list