Patch 7.4.1762
Problem: Coverity: useless assignments.
Solution: Remove them.
Files: src/search.c
*** ../vim-7.4.1761/src/search.c 2016-01-30 21:10:04.997342621 +0100
--- src/search.c 2016-04-21 09:05:07.480578740 +0200
***************
*** 4594,4600 ****
orig_pos = curwin->w_cursor;
pos = curwin->w_cursor;
- start_pos = VIsual;
/* make sure, searching further will extend the match */
if (VIsual_active)
--- 4594,4599 ----
***************
*** 4606,4612 ****
}
}
else
! orig_pos = pos = start_pos = curwin->w_cursor;
/* Is the pattern is zero-width? */
one_char = is_one_char(spats[last_idx].pat, TRUE);
--- 4605,4611 ----
}
}
else
! orig_pos = pos = curwin->w_cursor;
/* Is the pattern is zero-width? */
one_char = is_one_char(spats[last_idx].pat, TRUE);
*** ../vim-7.4.1761/src/version.c 2016-04-21 08:56:07.022097293 +0200
--- src/version.c 2016-04-21 09:06:07.655964184 +0200
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1762,
/**/
--
ARTHUR: Well, I can't just call you `Man'.
DENNIS: Well, you could say `Dennis'.
ARTHUR: Well, I didn't know you were called `Dennis.'
DENNIS: Well, you didn't bother to find out, did you?
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.