patch 9.1.1246: coverity complains about some changes in v9.1.1243 Commit: https://github.com/vim/vim/commit/4f9b1243e3ef60b9efb64a4e789c55be3cdc7a25 Author: Yee Cheng Chin <ychin....@gmail.com> Date: Thu Mar 27 17:34:50 2025 +0100
patch 9.1.1246: coverity complains about some changes in v9.1.1243 Problem: coverity complains about some changes in v9.1.1243 Solution: remove duplicate code in diff_find_changed() (Yee Cheng Chin) closes: #16988 Signed-off-by: Yee Cheng Chin <ychin....@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/diff.c b/src/diff.c index 638aed94e..3adcdb7db 100644 --- a/src/diff.c +++ b/src/diff.c @@ -3598,7 +3598,6 @@ diff_find_change( // Create a mock diffline struct. We always only have one so no need to // allocate memory. - idx = diff_buf_idx(wp->w_buffer);; CLEAR_FIELD(simple_diffline_change); diffline->changes = &simple_diffline_change; diffline->num_changes = 1; diff --git a/src/version.c b/src/version.c index 7e02ea5d2..271bd822d 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 */ +/**/ + 1246, /**/ 1245, /**/ -- -- 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/E1txqLt-001Yq3-A4%40256bit.org.