summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-26 15:51:06 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-26 15:51:06 +0200
commitcb4f69c2fd9ea81331c4aa54877fde612d182a51 (patch)
tree3471514cfe8b056f1ffe706a91b34b637cf9108c /src
parenta5d0423fa16f18b4576a2a07e50034e489587a7d (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/scriptfile.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index ce9c15d31b..2a8320832e 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 c45c15519c..58a434a1b6 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,