patch 9.0.0966: some compilers don't allow a declaration after a label
Problem: Some compilers don't allow a declaration after a label. Solution: Move the declaration to the start of the block. (John Marriott)
This commit is contained in:
@ -2383,6 +2383,7 @@ screenalloc(int doclear)
|
|||||||
static int entered = FALSE; // avoid recursiveness
|
static int entered = FALSE; // avoid recursiveness
|
||||||
static int done_outofmem_msg = FALSE; // did outofmem message
|
static int done_outofmem_msg = FALSE; // did outofmem message
|
||||||
int retry_count = 0;
|
int retry_count = 0;
|
||||||
|
int found_null;
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
/*
|
/*
|
||||||
@ -2509,8 +2510,7 @@ retry:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
give_up:
|
give_up:
|
||||||
|
found_null = FALSE;
|
||||||
int found_null = FALSE;
|
|
||||||
for (int i = 0; i < p_mco; ++i)
|
for (int i = 0; i < p_mco; ++i)
|
||||||
if (new_ScreenLinesC[i] == NULL)
|
if (new_ScreenLinesC[i] == NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
966,
|
||||||
/**/
|
/**/
|
||||||
965,
|
965,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user