mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
viml/parser/expressions: Fix PVS/V547: condition checked earlier
See previous goto with the same label.
This commit is contained in:
@@ -2534,11 +2534,6 @@ viml_pexpr_parse_bracket_closing_error:
|
||||
cur_token,
|
||||
_("E15: Expected value, got closing figure brace: %.*s"));
|
||||
}
|
||||
} else {
|
||||
if (!kv_size(ast_stack)) {
|
||||
new_top_node_p = top_node_p;
|
||||
goto viml_pexpr_parse_figure_brace_closing_error;
|
||||
}
|
||||
}
|
||||
do {
|
||||
new_top_node_p = kv_pop(ast_stack);
|
||||
|
Reference in New Issue
Block a user