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:11:21 +03:00
parent bc235bf1f6
commit a20261fae7

View File

@@ -2415,11 +2415,6 @@ viml_pexpr_parse_valid_colon:
cur_token,
_("E15: Expected value, got closing bracket: %.*s"));
}
} else {
if (!kv_size(ast_stack)) {
new_top_node_p = top_node_p;
goto viml_pexpr_parse_bracket_closing_error;
}
}
do {
new_top_node_p = kv_pop(ast_stack);