Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(PVS/V1048): remove redundant assignment
  • Loading branch information
merrittlj committed Jan 17, 2023
commit 828f5fd8f28d76c8232d007a212c1c3a09cced18
1 change: 0 additions & 1 deletion src/nvim/viml/parser/expressions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2497,7 +2497,6 @@ ExprAST viml_pexpr_parse(ParserState *const pstate, const int flags)
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.
Expand Down