mirror of
https://github.com/vim/vim.git
synced 2025-09-06 21:53:38 -04:00
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:
parent
40655d5016
commit
86b9a3e8cd
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user