viml/parser/expressions: Fix PVS/V547: condition checked earlier

See previous goto with the same label.
This commit is contained in:
ZyX
2018-04-15 20:10:48 +03:00
parent 6196738a3b
commit bc235bf1f6

View File

@@ -2534,11 +2534,6 @@ viml_pexpr_parse_bracket_closing_error:
cur_token, cur_token,
_("E15: Expected value, got closing figure brace: %.*s")); _("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 { do {
new_top_node_p = kv_pop(ast_stack); new_top_node_p = kv_pop(ast_stack);