commit da671b21ccc289101ccf37c31dc739b153b41800
parent 323ea17a19911f88c15b36e2251657edfa09b30b
Author: Lucas Merritt <lucas.j.merritt@gmail.com>
Date: Sun, 22 Jan 2023 20:42:16 -0700
refactor(PVS/V1048): remove redundant assignment (#21871)
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/nvim/viml/parser/expressions.c b/src/nvim/viml/parser/expressions.c
@@ -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.