diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:46:43 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:49:28 -0400 |
commit | 0aa16dbd180e920ed0de7bde383e01219746ba14 (patch) | |
tree | 2df42fd67f0be68a8ae97650bd431315989e5d17 /src/nvim/regexp.c | |
parent | 61e07d98ddb9a3f141fc7534b0598b5677c3d004 (diff) | |
download | rneovim-0aa16dbd180e920ed0de7bde383e01219746ba14.tar.gz rneovim-0aa16dbd180e920ed0de7bde383e01219746ba14.tar.bz2 rneovim-0aa16dbd180e920ed0de7bde383e01219746ba14.zip |
regexp: pvs/v1071
"void" cast unused return values of getchr(), peekchr().
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 6b84bb3207..c2ef217638 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -2912,7 +2912,7 @@ static int peekchr(void) at_start = false; // be able to say "/\*ptr" regparse++; after_slash++; - peekchr(); + (void)peekchr(); regparse--; after_slash--; curchr = toggle_Magic(curchr); |