To: vim_dev@googlegroups.com Subject: Patch 8.2.4623 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4623 Problem: Coverity warns for using uninitialized field. Solution: Initialize he field to zero. Files: src/ex_docmd.c *** ../vim-8.2.4622/src/ex_docmd.c 2022-03-24 15:24:41.698509704 +0000 --- src/ex_docmd.c 2022-03-25 14:38:38.243608127 +0000 *************** *** 3906,3911 **** --- 3906,3912 ---- // For ":2match" and ":3match" we need to skip the number. ea.cmd = (*name == '2' || *name == '3') ? name + 1 : name; ea.cmdidx = (cmdidx_T)0; + ea.flags = 0; p = find_ex_command(&ea, &full, NULL, NULL); if (p == NULL) return 3; *** ../vim-8.2.4622/src/version.c 2022-03-25 11:16:24.932035331 +0000 --- src/version.c 2022-03-25 14:39:30.139384694 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4623, /**/ -- Q: Is selling software the same as selling hardware? A: No, good hardware is sold new, good software has already been used by many. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///