# HG changeset patch # User Christian Brabandt # Date 1517405405 -3600 # Node ID 0f906f414c699052c30450953b2660d2362b2804 # Parent c30e4ae94349c53911a09d6b3627effa05a1d80f patch 8.0.1443: compiler complains about uninitialized variable commit https://github.com/vim/vim/commit/059fd01021779ee369c1e55557275f6c349fda9e Author: Bram Moolenaar Date: Wed Jan 31 14:25:53 2018 +0100 patch 8.0.1443: compiler complains about uninitialized variable Problem: Compiler complains about uninitialized variable. (Tony Mechelynck) Solution: Assign a value to the variable. diff --git a/src/undo.c b/src/undo.c --- a/src/undo.c +++ b/src/undo.c @@ -2364,7 +2364,10 @@ undo_time( /* When "target" is 0; Back to origin. */ if (target == 0) - goto found; + { + mark = lastmark; /* avoid that GCC complains */ + goto target_zero; + } /* * May do this twice: @@ -2491,7 +2494,7 @@ undo_time( above = TRUE; /* stop above the header */ } -found: +target_zero: /* If we found it: Follow the path to go to where we want to be. */ if (uhp != NULL || target == 0) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1443, +/**/ 1442, /**/ 1441,