Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65b3dab

Browse files
committed
Fix uninitialized value. (Why are we using bools instead of ints, like we do
everywhere else?)
1 parent 9c54448 commit 65b3dab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ ast_for_trailer(struct compiling *c, const node *n, expr_ty left_expr)
14151415
int j;
14161416
slice_ty slc;
14171417
expr_ty e;
1418-
bool simple;
1418+
bool simple = true;
14191419
asdl_seq *slices, *elts;
14201420
slices = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena);
14211421
if (!slices)

0 commit comments

Comments
 (0)