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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220420092414.C990F1C03BA%40moolenaar.net.