changeset 28089:d3adf7b141a9 v8.2.4569

patch 8.2.4569: Coverity warning for not using a return value Commit: https://github.com/vim/vim/commit/977525fea662b7f37ad0e052894c1f62b5b03269 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 15 10:22:39 2022 +0000 patch 8.2.4569: Coverity warning for not using a return value Problem: Coverity warning for not using a return value. Solution: Add "(void)".
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Mar 2022 11:30:04 +0100
parents 687d1529c5fd
children 55c0661bfe1f
files src/popupwin.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3738,7 +3738,7 @@ may_update_popup_mask(int type)
 				{
 				    // compute the position in the buffer line
 				    // from the position in the window
-				    mouse_comp_pos(wp, &line_cp, &col_cp,
+				    (void)mouse_comp_pos(wp, &line_cp, &col_cp,
 							  &lnum, plines_cache);
 				    redrawWinline(wp, lnum);
 				}
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4569,
+/**/
     4568,
 /**/
     4567,