To: vim_dev@googlegroups.com Subject: Patch 8.2.4485 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4485 Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott) Files: src/cmdexpand.c *** ../vim-8.2.4484/src/cmdexpand.c 2022-02-28 13:28:34.540563790 +0000 --- src/cmdexpand.c 2022-02-28 21:01:52.687000237 +0000 *************** *** 3003,3009 **** garray_T ga; int fuzzy; int match; ! int score; fuzzy = cmdline_fuzzy_complete(pat); *matches = NULL; --- 3003,3009 ---- garray_T ga; int fuzzy; int match; ! int score = 0; fuzzy = cmdline_fuzzy_complete(pat); *matches = NULL; *** ../vim-8.2.4484/src/version.c 2022-02-28 20:54:58.129239044 +0000 --- src/version.c 2022-02-28 21:02:02.943023684 +0000 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 4485, /**/ -- hundred-and-one symptoms of being an internet addict: 126. You brag to all of your friends about your date Saturday night...but you don't tell them it was only in a chat room. /// 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 ///