aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/buffer.c2
-rw-r--r--src/nvim/getchar.c1
-rw-r--r--src/nvim/memline.c2
-rw-r--r--src/nvim/move.c1
-rw-r--r--src/nvim/option.c2
5 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 20dd94622f..6d91632dcd 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -2553,8 +2553,6 @@ void buflist_setfpos(buf_T *const buf, win_T *const win, linenr_T lnum, colnr_T
if (wip->wi_next) {
wip->wi_next->wi_prev = wip;
}
-
- return;
}
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index f5f8a307d1..a53742b17b 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -293,7 +293,6 @@ static void add_buff(buffheader_T *const buf, const char *const s, ptrdiff_t sle
buf->bh_curr->b_next = p;
buf->bh_curr = p;
}
- return;
}
/*
diff --git a/src/nvim/memline.c b/src/nvim/memline.c
index 69598bbdda..20ae5a4042 100644
--- a/src/nvim/memline.c
+++ b/src/nvim/memline.c
@@ -1272,7 +1272,6 @@ theend:
apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf);
apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf);
}
- return;
}
/// Find the names of swap files in current directory and the directory given
@@ -2798,7 +2797,6 @@ void ml_clearmarked(void)
}
lowest_marked = 0;
- return;
}
size_t ml_flush_deleted_bytes(buf_T *buf, size_t *codepoints, size_t *codeunits)
diff --git a/src/nvim/move.c b/src/nvim/move.c
index c4f8e81fa3..918e0a5c4f 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -2104,7 +2104,6 @@ static void get_scroll_overlap(lineoff_T *lp, int dir)
} else {
*lp = loff2; // 2 lines overlap
}
- return;
}
// Scroll 'scroll' lines up or down.
diff --git a/src/nvim/option.c b/src/nvim/option.c
index b60699b66f..a9bff8285c 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -6509,8 +6509,6 @@ void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags)
break;
}
}
-
- return;
}
int ExpandSettings(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file)