Mercurial > vim
comparison src/getchar.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 | 2ee0425960fe |
children | 18114bb393e0 |
comparison
equal
deleted
inserted
replaced
25912:102e3e860b52 | 25913:a63676a1da2b |
---|---|
241 | 241 |
242 p->b_next = buf->bh_curr->b_next; | 242 p->b_next = buf->bh_curr->b_next; |
243 buf->bh_curr->b_next = p; | 243 buf->bh_curr->b_next = p; |
244 buf->bh_curr = p; | 244 buf->bh_curr = p; |
245 } | 245 } |
246 return; | |
247 } | 246 } |
248 | 247 |
249 /* | 248 /* |
250 * Add number "n" to buffer "buf". | 249 * Add number "n" to buffer "buf". |
251 */ | 250 */ |