# HG changeset patch # User Bram Moolenaar # Date 1650447005 -7200 # Node ID 63e9b0016a6c87b2e99801c5bd2da9b39fa0edef # Parent 86ad381f275f2db652fd91c76fa5369e71cf5664 patch 8.2.4794: compiler warning for not initialized variable Commit: https://github.com/vim/vim/commit/4c84dd33ad739237bb38bb4e51702af972b5e507 Author: Bram Moolenaar Date: Wed Apr 20 10:22:54 2022 +0100 patch 8.2.4794: compiler warning for not initialized variable Problem: Compiler warning for not initialized variable. Solution: Initialize the variable. (John Marriott) diff --git a/src/indent.c b/src/indent.c --- a/src/indent.c +++ b/src/indent.c @@ -1046,7 +1046,7 @@ inindent(int extra) void op_reindent(oparg_T *oap, int (*how)(void)) { - long i; + long i = 0; char_u *l; int amount; linenr_T first_changed = 0; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4794, +/**/ 4793, /**/ 4792,