mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
vim-patch:8.2.3490: superfluous return statements #15978
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes vim/vim#8977)
3826c0513b
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user