diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-08-25 14:30:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 14:30:12 +0100 |
commit | 99f8d34c8a7128a9adb43168ca5364ccbd568333 (patch) | |
tree | 0a28a1505debe6e4d1025f9c518a7b0fe1ab769c /src/nvim/if_cscope.c | |
parent | cd2d3aa48f3531103a3a355d76394301e7b074df (diff) | |
parent | 93f24403f8cc760ff47979c596976b53a8b16358 (diff) | |
download | rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.gz rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.bz2 rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.zip |
Merge pull request #19934 from lewis6991/prepostincr
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 689d1fce0d..9d3b2b0455 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -900,7 +900,7 @@ static int cs_find(exarg_T *eap) * Let's replace the NULs written by strtok() with spaces - we need the * spaces to correctly display the quickfix/location list window's title. */ - for (int i = 0; i < eap_arg_len; ++i) { + for (int i = 0; i < eap_arg_len; i++) { if (NUL == eap->arg[i]) { eap->arg[i] = ' '; } @@ -1838,7 +1838,7 @@ static void cs_release_csp(size_t i, bool freefnpp) // Can't use sigaction(), loop for two seconds. First yield the CPU // to give cscope a chance to exit quickly. sleep(0); - for (waited = 0; waited < 40; ++waited) { + for (waited = 0; waited < 40; waited++) { pid = waitpid(csinfo[i].pid, &pstat, WNOHANG); waitpid_errno = errno; if (pid != 0) { |