regexp: pvs/v1071

"void" cast unused return values of getchr(), peekchr().
This commit is contained in:
Jan Edmund Lazo
2021-06-05 12:46:43 -04:00
parent 61e07d98dd
commit 0aa16dbd18
2 changed files with 5 additions and 5 deletions

View File

@@ -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);