aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/shell.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-13 15:11:17 +0100
committerGitHub <noreply@github.com>2022-03-13 22:11:17 +0800
commit4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6 (patch)
treec281f75c93feb5d0789ee602484c22e3b6a83116 /src/nvim/os/shell.c
parent4ede2ea4b2e9cd61fb7e634fa35e6a500816be19 (diff)
downloadrneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.tar.gz
rneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.tar.bz2
rneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.zip
refactor: fix clint warnings (#17682)
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r--src/nvim/os/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c
index 656e059303..5680cdbe42 100644
--- a/src/nvim/os/shell.c
+++ b/src/nvim/os/shell.c
@@ -1229,7 +1229,7 @@ static void read_input(DynamicBuffer *buf)
dynamic_buffer_ensure(buf, buf->len + 1);
buf->data[buf->len++] = NL;
}
- ++lnum;
+ lnum++;
if (lnum > curbuf->b_op_end.lnum) {
break;
}