Mercurial > vim
comparison src/evalfunc.c @ 19940:724417668d42 v8.2.0526
patch 8.2.0526: Gcc 9 complains about empty statement
Commit: https://github.com/vim/vim/commit/86b9a3e8cd24335195dbe377b98bed1ba291268d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 7 19:57:29 2020 +0200
patch 8.2.0526: Gcc 9 complains about empty statement
Problem: Gcc 9 complains about empty statement.
Solution: Add {}. (Dominique Pelle, closes https://github.com/vim/vim/issues/5894)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 07 Apr 2020 20:00:04 +0200 |
parents | 3ff714d765ba |
children | 82ea10d554fb |
comparison
equal
deleted
inserted
replaced
19939:09b34a0c8a93 | 19940:724417668d42 |
---|---|
4559 | 4559 |
4560 // features also in has_list[] but sometimes enabled at runtime | 4560 // features also in has_list[] but sometimes enabled at runtime |
4561 if (x == TRUE && n == FALSE) | 4561 if (x == TRUE && n == FALSE) |
4562 { | 4562 { |
4563 if (0) | 4563 if (0) |
4564 ; | 4564 { |
4565 // intentionally empty | |
4566 } | |
4565 #if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN) | 4567 #if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN) |
4566 else if (STRICMP(name, "balloon_multiline") == 0) | 4568 else if (STRICMP(name, "balloon_multiline") == 0) |
4567 n = multiline_balloon_available(); | 4569 n = multiline_balloon_available(); |
4568 #endif | 4570 #endif |
4569 #ifdef VIMDLL | 4571 #ifdef VIMDLL |