diff options
| author | Bram Moolenaar <Bram@vim.org> | 2020-07-26 15:51:06 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2020-07-26 15:51:06 +0200 |
| commit | cb4f69c2fd9ea81331c4aa54877fde612d182a51 (patch) | |
| tree | 3471514cfe8b056f1ffe706a91b34b637cf9108c | |
| parent | a5d0423fa16f18b4576a2a07e50034e489587a7d (diff) | |
| download | vim-git-cb4f69c2fd9ea81331c4aa54877fde612d182a51.tar.gz | |
patch 8.2.1298: compiler warning for unused argument in small versionv8.2.1298
Problem: Compiler warning for unused argument in small version.
Solution: Add UNUSED.
| -rw-r--r-- | src/scriptfile.c | 2 | ||||
| -rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index ce9c15d31..2a8320832 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -114,7 +114,7 @@ estack_pop(void) * "is_sfile" is TRUE for <sfile> itself. */ char_u * -estack_sfile(int is_sfile) +estack_sfile(int is_sfile UNUSED) { estack_T *entry; #ifdef FEAT_EVAL diff --git a/src/version.c b/src/version.c index c45c15519..58a434a1b 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1298, +/**/ 1297, /**/ 1296, |
