patch 8.2.0526: Gcc 9 complains about empty statement
Problem: Gcc 9 complains about empty statement.
Solution: Add {}. (Dominique Pelle, closes #5894)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 45077f6..40fb9e9 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4561,7 +4561,9 @@
if (x == TRUE && n == FALSE)
{
if (0)
- ;
+ {
+ // intentionally empty
+ }
#if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN)
else if (STRICMP(name, "balloon_multiline") == 0)
n = multiline_balloon_available();
diff --git a/src/version.c b/src/version.c
index 40f5b14..bcf333b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 526,
+/**/
525,
/**/
524,