diff src/popupwin.c @ 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 c7f614c9ceb3
children d27a9eed9849
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);
 				}