Mercurial > vim
comparison src/memline.c @ 25913:a63676a1da2b v8.2.3490
patch 8.2.3490: superfluous return statements
Commit: https://github.com/vim/vim/commit/3826c0513bc9370583be550c864358c7eeb5605a
Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Date: Sat Oct 9 15:39:25 2021 +0100
patch 8.2.3490: superfluous return statements
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes #8977)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Oct 2021 16:45:03 +0200 |
parents | 076f9b8e9632 |
children | d7e1cf30728c |
comparison
equal
deleted
inserted
replaced
25912:102e3e860b52 | 25913:a63676a1da2b |
---|---|
1784 else | 1784 else |
1785 { | 1785 { |
1786 apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf); | 1786 apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf); |
1787 apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf); | 1787 apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf); |
1788 } | 1788 } |
1789 return; | |
1790 } | 1789 } |
1791 | 1790 |
1792 /* | 1791 /* |
1793 * Find the names of swap files in current directory and the directory given | 1792 * Find the names of swap files in current directory and the directory given |
1794 * with the 'directory' option. | 1793 * with the 'directory' option. |
3928 curbuf->b_ml.ml_flags |= ML_LOCKED_DIRTY; | 3927 curbuf->b_ml.ml_flags |= ML_LOCKED_DIRTY; |
3929 } | 3928 } |
3930 } | 3929 } |
3931 | 3930 |
3932 lowest_marked = 0; | 3931 lowest_marked = 0; |
3933 return; | |
3934 } | 3932 } |
3935 | 3933 |
3936 /* | 3934 /* |
3937 * flush ml_line if necessary | 3935 * flush ml_line if necessary |
3938 */ | 3936 */ |