forked from aniani/vim
patch 8.2.0526: Gcc 9 complains about empty statement
Problem: Gcc 9 complains about empty statement. Solution: Add {}. (Dominique Pelle, closes #5894)
This commit is contained in:
@@ -4561,7 +4561,9 @@ f_has(typval_T *argvars, typval_T *rettv)
|
|||||||
if (x == TRUE && n == FALSE)
|
if (x == TRUE && n == FALSE)
|
||||||
{
|
{
|
||||||
if (0)
|
if (0)
|
||||||
;
|
{
|
||||||
|
// intentionally empty
|
||||||
|
}
|
||||||
#if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN)
|
#if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN)
|
||||||
else if (STRICMP(name, "balloon_multiline") == 0)
|
else if (STRICMP(name, "balloon_multiline") == 0)
|
||||||
n = multiline_balloon_available();
|
n = multiline_balloon_available();
|
||||||
|
@@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
526,
|
||||||
/**/
|
/**/
|
||||||
525,
|
525,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user