aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index ffc930ac1e..f4f2690e47 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -145,7 +145,6 @@ int get_leader_len(char_u *line, char_u **flags, bool backward, bool include_spa
}
}
for (j = 0; string[j] != NUL && string[j] == line[i + j]; ++j) {
- ;
}
if (string[j] != NUL) {
continue; // string doesn't match
@@ -276,7 +275,7 @@ int get_last_leader_offset(char_u *line, char_u **flags)
}
}
for (j = 0; string[j] != NUL && string[j] == line[i + j]; ++j) {
- /* do nothing */;
+ // do nothing
}
if (string[j] != NUL) {
continue;