0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.3770: new compiler warnings from clang-12 and clang-13

Problem:    New compiler warnings from clang-12 and clang-13.
Solution:   Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
This commit is contained in:
ichizok
2021-12-09 21:08:01 +00:00
committed by Bram Moolenaar
parent 4c8c634365
commit dee78e1ce8
5 changed files with 29 additions and 8 deletions

View File

@@ -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>