From 2d4070d3b02e775a6f3d5ef52265add270e09a4f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 11 Jun 2020 12:30:13 +0200 Subject: [PATCH] patch 8.2.0957: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize one variable. --- src/spell.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spell.c b/src/spell.c index 8558d3908..b3d9b0a3c 100644 --- a/src/spell.c +++ b/src/spell.c @@ -207,7 +207,7 @@ spell_check( if (spell_iswordp(mi.mi_fend, wp)) { int prev_upper; - int this_upper; + int this_upper = FALSE; // init for gcc if (use_camel_case) { diff --git a/src/version.c b/src/version.c index 66f01def3..5638e8294 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 957, /**/ 956, /**/ -- 2.50.1