mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
patch 7.4.1762
Problem: Coverity: useless assignments. Solution: Remove them.
This commit is contained in:
@@ -4594,7 +4594,6 @@ current_search(
|
|||||||
orig_pos = curwin->w_cursor;
|
orig_pos = curwin->w_cursor;
|
||||||
|
|
||||||
pos = curwin->w_cursor;
|
pos = curwin->w_cursor;
|
||||||
start_pos = VIsual;
|
|
||||||
|
|
||||||
/* make sure, searching further will extend the match */
|
/* make sure, searching further will extend the match */
|
||||||
if (VIsual_active)
|
if (VIsual_active)
|
||||||
@@ -4606,7 +4605,7 @@ current_search(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
orig_pos = pos = start_pos = curwin->w_cursor;
|
orig_pos = pos = curwin->w_cursor;
|
||||||
|
|
||||||
/* Is the pattern is zero-width? */
|
/* Is the pattern is zero-width? */
|
||||||
one_char = is_one_char(spats[last_idx].pat, TRUE);
|
one_char = is_one_char(spats[last_idx].pat, TRUE);
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1762,
|
||||||
/**/
|
/**/
|
||||||
1761,
|
1761,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user