From: Thomas Wouters Date: Wed, 1 Mar 2006 22:06:23 +0000 (+0000) Subject: Fix uninitialized value. (Why are we using bools instead of ints, like we do X-Git-Tag: v2.5a0~424 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65b3dab50e7192b4ad6cae046c3ed15b53752ac4;p=thirdparty%2FPython%2Fcpython.git Fix uninitialized value. (Why are we using bools instead of ints, like we do everywhere else?) --- diff --git a/Python/ast.c b/Python/ast.c index 7edd345fefc8..4e508ebe8809 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)