To: vim_dev@googlegroups.com Subject: Patch 9.0.0371 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0371 Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott) Files: src/eval.c *** ../vim-9.0.0370/src/eval.c 2022-09-03 12:09:02.530363340 +0100 --- src/eval.c 2022-09-03 21:51:24.043174770 +0100 *************** *** 694,700 **** { typval_T ref; char_u *name = *arg; ! int save_flags; ref.v_type = VAR_UNKNOWN; if (evalarg != NULL) --- 694,700 ---- { typval_T ref; char_u *name = *arg; ! int save_flags = 0; ref.v_type = VAR_UNKNOWN; if (evalarg != NULL) *** ../vim-9.0.0370/src/version.c 2022-09-03 21:35:50.188158217 +0100 --- src/version.c 2022-09-03 21:52:19.247135169 +0100 *************** *** 709,710 **** --- 709,712 ---- { /* Add new patch number below this line */ + /**/ + 371, /**/ -- Engineers are always delighted to share wisdom, even in areas in which they have no experience whatsoever. Their logic provides them with inherent insight into any field of expertise. This can be a problem when dealing with the illogical people who believe that knowledge can only be derived through experience. (Scott Adams - The Dilbert principle) /// 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 ///