diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-24 15:18:55 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-24 15:19:24 -0800 |
commit | 8b87d095acfb23b527f955873a59dd9c13ffc9b4 (patch) | |
tree | ad4cac1d656ae7c56832d2ed1b6950ab6146ac33 /src/coding.c | |
parent | 29a8a1885d9f4825190d2575849f7605b3d6dffb (diff) | |
download | emacs-8b87d095acfb23b527f955873a59dd9c13ffc9b4.tar.gz emacs-8b87d095acfb23b527f955873a59dd9c13ffc9b4.tar.bz2 emacs-8b87d095acfb23b527f955873a59dd9c13ffc9b4.zip |
Pacify Apple clang version 13.0.0 (clang-1300.0.29.30):
* src/coding.c: When compiling with Apple clang, ignore
-Wunused-but-set-variable only in Clang 14 and greater.
Problem reported by Mattias EngdegÄrd.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 79461addd1a..a2e0d7040f8 100644 --- a/src/coding.c +++ b/src/coding.c @@ -653,7 +653,7 @@ growable_destination (struct coding_system *coding) /* Suppress clang warnings about consumed_chars never being used. Although correct, the warnings are too much trouble to code around. */ -#if 13 <= __clang_major__ +#if 13 <= __clang_major__ - defined __apple_build_version__ # pragma clang diagnostic ignored "-Wunused-but-set-variable" #endif |