From 86b9a3e8cd24335195dbe377b98bed1ba291268d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 7 Apr 2020 19:57:29 +0200 Subject: patch 8.2.0526: Gcc 9 complains about empty statement Problem: Gcc 9 complains about empty statement. Solution: Add {}. (Dominique Pelle, closes #5894) --- src/evalfunc.c | 4 +++- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index 45077f6cb..40fb9e96b 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -4561,7 +4561,9 @@ f_has(typval_T *argvars, typval_T *rettv) 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 40f5b145b..bcf333b8d 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 526, /**/ 525, /**/ -- cgit v1.2.1