mirror of
https://github.com/neovim/neovim.git
synced 2026-01-20 20:21:50 +10:00
eval: Silence V782
This commit is contained in:
@@ -13058,8 +13058,9 @@ static void f_readfile(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
/* have to shuffle buf to close gap */
|
||||
int adjust_prevlen = 0;
|
||||
|
||||
if (dest < buf) {
|
||||
adjust_prevlen = (int)(buf - dest); /* must be 1 or 2 */
|
||||
if (dest < buf) { // -V782
|
||||
adjust_prevlen = (int)(buf - dest); // -V782
|
||||
// adjust_prevlen must be 1 or 2.
|
||||
dest = buf;
|
||||
}
|
||||
if (readlen > p - buf + 1)
|
||||
|
||||
Reference in New Issue
Block a user