]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4569: Coverity warning for not using a return value v8.2.4569
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2022 10:22:39 +0000 (10:22 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2022 10:22:39 +0000 (10:22 +0000)
Problem:    Coverity warning for not using a return value.
Solution:   Add "(void)".

src/popupwin.c
src/version.c

index 9dee7579e58d0d79d4088dfba7b3c126b435486d..0aca7d324672ed7cb4ead7bbfe2bb64ac4bbe6c3 100644 (file)
@@ -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);
                                }
index c4a65f3414c271613d2fca925ef219492891f10e..b634d8b7487822a14aa591e6b462ee943361c98c 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4569,
 /**/
     4568,
 /**/