aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/marktree.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-03-08 19:58:45 +0100
committerDundar Göc <gocdundar@gmail.com>2022-03-09 09:29:57 +0100
commit05f643f9d235b0db881acf94ce05ad3359ffb058 (patch)
tree99f5f801df3609f4c44dc89f8e1094a7b516f748 /src/nvim/marktree.c
parentf27068caad517c52e700477d51343cbebd8d4df0 (diff)
downloadrneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.gz
rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.bz2
rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.zip
chore(lgtm): fix "empty block without comment" warnings
Diffstat (limited to 'src/nvim/marktree.c')
-rw-r--r--src/nvim/marktree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/marktree.c b/src/nvim/marktree.c
index d2354dbf6b..4456b28293 100644
--- a/src/nvim/marktree.c
+++ b/src/nvim/marktree.c
@@ -1159,8 +1159,6 @@ static size_t check_node(MarkTree *b, mtnode_t *x, mtpos_t *last, bool *last_rig
if (i > 0) {
unrelative(x->key[i-1].pos, last);
}
- if (x->level) {
- }
assert(pos_leq(*last, x->key[i].pos));
if (last->row == x->key[i].pos.row && last->col == x->key[i].pos.col) {
assert(!*last_right || mt_right(x->key[i]));