mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
regexp: pvs/v1071
"void" cast unused return values of getchr(), peekchr().
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user