summaryrefslogtreecommitdiff
path: root/src/spellfile.c
diff options
context:
space:
mode:
authorichizok <gclient.gaap@gmail.com>2021-12-09 21:08:01 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-09 21:08:01 +0000
commitdee78e1ce857985c06ff18e20daeadfe1622b8ae (patch)
tree88154493cd203d40f170682397645191fb248fcc /src/spellfile.c
parent4c8c634365bc6d4d462635aed5e0f7ad2262d590 (diff)
downloadvim-git-dee78e1ce857985c06ff18e20daeadfe1622b8ae.tar.gz
patch 8.2.3770: new compiler warnings from clang-12 and clang-13v8.2.3770
Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
Diffstat (limited to 'src/spellfile.c')
-rw-r--r--src/spellfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c
index 6d6c248ab..46d222d9b 100644
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -6576,7 +6576,7 @@ write_spell_prefcond(FILE *fd, garray_T *gap)
char_u *p;
int len;
int totlen;
- size_t x = 1; // collect return value of fwrite()
+ size_t x UNUSED = 1; // collect return value of fwrite()
if (fd != NULL)
put_bytes(fd, (long_u)gap->ga_len, 2); // <prefcondcnt>