patch 9.1.1334: Coverity complains about unchecked return value Commit: https://github.com/vim/vim/commit/d847b241f5472477db8b76a4a630ae66bd33f8f2 Author: Christian Brabandt <c...@256bit.org> Date: Tue Apr 22 20:04:28 2025 +0200
patch 9.1.1334: Coverity complains about unchecked return value Problem: Coverity complains about unchecked return value Solution: cast return value to (void) Fixes: Coverity issue 1646574 related: #17189 Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/session.c b/src/session.c index eea57a233..56d368ac4 100644 --- a/src/session.c +++ b/src/session.c @@ -1072,7 +1072,7 @@ ex_loadview(exarg_T *eap) if (fname == NULL) return; - do_source(fname, FALSE, DOSO_NONE, NULL); + (void)do_source(fname, FALSE, DOSO_NONE, NULL); vim_free(fname); } diff --git a/src/version.c b/src/version.c index cd58d6113..1a17d2e4c 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1334, /**/ 1333, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1u7I9A-001P16-Nr%40256bit.org.