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
index be9dd4b..9efa527 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1046,7 +1046,7 @@
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
index 901df55..728f8bb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4794,
+/**/
4793,
/**/
4792,