mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.1443: compiler complains about uninitialized variable
Problem: Compiler complains about uninitialized variable. (Tony Mechelynck) Solution: Assign a value to the variable.
This commit is contained in:
@@ -2364,7 +2364,10 @@ undo_time(
|
|||||||
|
|
||||||
/* When "target" is 0; Back to origin. */
|
/* When "target" is 0; Back to origin. */
|
||||||
if (target == 0)
|
if (target == 0)
|
||||||
goto found;
|
{
|
||||||
|
mark = lastmark; /* avoid that GCC complains */
|
||||||
|
goto target_zero;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* May do this twice:
|
* May do this twice:
|
||||||
@@ -2491,7 +2494,7 @@ undo_time(
|
|||||||
above = TRUE; /* stop above the header */
|
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 we found it: Follow the path to go to where we want to be. */
|
||||||
if (uhp != NULL || target == 0)
|
if (uhp != NULL || target == 0)
|
||||||
{
|
{
|
||||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1443,
|
||||||
/**/
|
/**/
|
||||||
1442,
|
1442,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user