refactor(PVS/V1048): remove redundant assignment (#21871)

This commit is contained in:
Lucas Merritt
2023-01-22 20:42:16 -07:00
committed by GitHub
parent 323ea17a19
commit da671b21cc

View File

@@ -2497,7 +2497,6 @@ viml_pexpr_parse_bracket_closing_error:
NEW_NODE_WITH_CUR_POS(cur_node, kExprNodeListLiteral);
*top_node_p = cur_node;
kvi_push(ast_stack, &cur_node->children);
want_node = kENodeValue;
if (cur_pt == kEPTAssignment) {
// Additional assignment parse type allows to easily forbid nested
// lists.