To: vim_dev@googlegroups.com Subject: Patch 8.2.4794 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4794 Problem: Compiler warning for not initialized variable. Solution: Initialize the variable. (John Marriott) Files: src/indent.c *** ../vim-8.2.4793/src/indent.c 2022-04-19 18:28:41.395860397 +0100 --- src/indent.c 2022-04-20 10:20:37.334402710 +0100 *************** *** 1046,1052 **** void op_reindent(oparg_T *oap, int (*how)(void)) { ! long i; char_u *l; int amount; linenr_T first_changed = 0; --- 1046,1052 ---- void op_reindent(oparg_T *oap, int (*how)(void)) { ! long i = 0; char_u *l; int amount; linenr_T first_changed = 0; *** ../vim-8.2.4793/src/version.c 2022-04-19 19:38:34.385576220 +0100 --- src/version.c 2022-04-20 10:21:27.130376628 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4794, /**/ -- Q: Why do Norwegians excel at text editing? A: Their ancestors are Vi-kings /// 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 ///