Mercurial > vim
comparison src/buffer.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 | 7c640ad754fb |
children | 46205b125fbd |
comparison
equal
deleted
inserted
replaced
25912:102e3e860b52 | 25913:a63676a1da2b |
---|---|
3027 wip->wi_next = buf->b_wininfo; | 3027 wip->wi_next = buf->b_wininfo; |
3028 buf->b_wininfo = wip; | 3028 buf->b_wininfo = wip; |
3029 wip->wi_prev = NULL; | 3029 wip->wi_prev = NULL; |
3030 if (wip->wi_next) | 3030 if (wip->wi_next) |
3031 wip->wi_next->wi_prev = wip; | 3031 wip->wi_next->wi_prev = wip; |
3032 | |
3033 return; | |
3034 } | 3032 } |
3035 | 3033 |
3036 #ifdef FEAT_DIFF | 3034 #ifdef FEAT_DIFF |
3037 /* | 3035 /* |
3038 * Return TRUE when "wip" has 'diff' set and the diff is only for another tab | 3036 * Return TRUE when "wip" has 'diff' set and the diff is only for another tab |