To: vim_dev@googlegroups.com Subject: Patch 8.2.4000 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4000 Problem: Coverity warns for checking for NULL pointer after using it. Solution: Remove check for NULL. Files: src/help.c *** ../vim-8.2.3999/src/help.c 2022-01-03 12:53:20.662699885 +0000 --- src/help.c 2022-01-04 16:35:24.784734861 +0000 *************** *** 836,843 **** continue; t2 = gettail(f2); e2 = vim_strrchr(t2, '.'); - if (e1 == NULL || e2 == NULL) - continue; if (e1 - f1 != e2 - f2 || fnamencmp(f1, f2, e1 - f1) != 0) continue; --- 836,841 ---- *** ../vim-8.2.3999/src/version.c 2022-01-04 16:22:48.925897553 +0000 --- src/version.c 2022-01-04 16:44:41.220038459 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4000, /**/ -- I noticed my daughter's Disney-net password on a sticky note: "MickeyMinnieGoofyPluto". I asked her why it was so long. "Because they say it has to have at least four characters." /// 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 ///