Skip to content

Commit 835df36

Browse files
XLS Teamcopybara-github
XLS Team
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 606854970
1 parent a2908f2 commit 835df36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xls/passes/array_simplification_pass.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ absl::StatusOr<SimplifyResult> SimplifyArrayUpdate(
598598
XLS_RET_CHECK_LT(operand_no, array_literal.size());
599599

600600
std::vector<Node*> array_operands;
601-
ArrayUpdate* new_array_update;
601+
ArrayUpdate* new_array_update = nullptr;
602602
for (int64_t i = 0; i < array_literal.size(); ++i) {
603603
XLS_ASSIGN_OR_RETURN(Literal * array_element,
604604
func->MakeNode<Literal>(array_update->loc(),

0 commit comments

Comments
 (0)