Skip to content

Commit 4f9b124

Browse files
ychinchrisbra
authored andcommitted
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.git@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent d9b82cf commit 4f9b124

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/diff.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3598,7 +3598,6 @@ diff_find_change(
35983598

35993599
// Create a mock diffline struct. We always only have one so no need to
36003600
// allocate memory.
3601-
idx = diff_buf_idx(wp->w_buffer);;
36023601
CLEAR_FIELD(simple_diffline_change);
36033602
diffline->changes = &simple_diffline_change;
36043603
diffline->num_changes = 1;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1246,
707709
/**/
708710
1245,
709711
/**/

0 commit comments

Comments
 (0)