To: vim_dev@googlegroups.com Subject: Patch 8.2.4637 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4637 Problem: Warning for using uninitialized variable. (Tony Mechelynck) Solution: Initialize it. Files: src/ex_docmd.c *** ../vim-8.2.4636/src/ex_docmd.c 2022-03-27 16:56:17.340852629 +0100 --- src/ex_docmd.c 2022-03-27 18:05:38.435059153 +0100 *************** *** 2782,2788 **** cmdmod_T *cmod, int skip_only) { ! char_u *cmd_start; char_u *p; int starts_with_colon = FALSE; int vim9script = in_vim9script(); --- 2782,2788 ---- cmdmod_T *cmod, int skip_only) { ! char_u *cmd_start = NULL; char_u *p; int starts_with_colon = FALSE; int vim9script = in_vim9script(); *** ../vim-8.2.4636/src/version.c 2022-03-27 16:56:17.340852629 +0100 --- src/version.c 2022-03-27 18:10:51.458541735 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4637, /**/ -- "Hegel was right when he said that we learn from history that man can never learn anything from history." (George Bernard Shaw) /// 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 ///