diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:25:30 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:49:27 -0400 |
commit | ac64055826039623452a81c1d94166f1788992d0 (patch) | |
tree | e245f2667657fc9cc161f2c84203fe07816e95b8 /src | |
parent | 3d120b1c181a7cc2d3b7ba9ce01651942104a02c (diff) | |
download | rneovim-ac64055826039623452a81c1d94166f1788992d0.tar.gz rneovim-ac64055826039623452a81c1d94166f1788992d0.tar.bz2 rneovim-ac64055826039623452a81c1d94166f1788992d0.zip |
indent_c: pvs/v1071
"void" cast unused return value of find_last_paren().
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/indent_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c index 771bf923b2..25c27743f3 100644 --- a/src/nvim/indent_c.c +++ b/src/nvim/indent_c.c @@ -3552,7 +3552,7 @@ term_again: * Position the cursor over the rightmost paren, so that * matching it will take us back to the start of the line. */ - find_last_paren(l, '(', ')'); + (void)find_last_paren(l, '(', ')'); if ((trypos = find_match_paren(curbuf->b_ind_maxparen)) != NULL) curwin->w_cursor = *trypos; |