patch 8.2.1728: compiler warning for using uninitialized variable
Problem: Compiler warning for using uninitialized variable. (John Marriott)
Solution: Initialize "neighbor".
diff --git a/src/search.c b/src/search.c
index 59b46e5..badf793 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4293,7 +4293,7 @@
if (currIdx > 0)
{
// Camel case
- int neighbor;
+ int neighbor = ' ';
int curr;
int neighborSeparator;
diff --git a/src/version.c b/src/version.c
index cafc31d..a9852e9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1728,
+/**/
1727,
/**/
1726,