To: vim_dev@googlegroups.com Subject: Patch 7.4.1762 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///