aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-01-20 22:17:48 +0800
committerPo Lu2023-01-20 22:17:48 +0800
commita03eeb0109334942a8fdee777697a25c2db82ab1 (patch)
treedefacc4061cb663647e96e90126a32dc12425d64 /src
parent761c763dd66700f6eb5480cc55228b96d165960d (diff)
parent1fdd720b6b8e1858e9ab92b2f63cc473402e54d1 (diff)
downloademacs-a03eeb0109334942a8fdee777697a25c2db82ab1.tar.gz
emacs-a03eeb0109334942a8fdee777697a25c2db82ab1.zip
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'src')
-rw-r--r--src/coding.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 49dcd8634f3..79461addd1a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -651,6 +651,12 @@ growable_destination (struct coding_system *coding)
651 consumed_chars++; \ 651 consumed_chars++; \
652 } while (0) 652 } while (0)
653 653
654/* Suppress clang warnings about consumed_chars never being used.
655 Although correct, the warnings are too much trouble to code around. */
656#if 13 <= __clang_major__
657# pragma clang diagnostic ignored "-Wunused-but-set-variable"
658#endif
659
654/* Safely get two bytes from the source text pointed by SRC which ends 660/* Safely get two bytes from the source text pointed by SRC which ends
655 at SRC_END, and set C1 and C2 to those bytes while skipping the 661 at SRC_END, and set C1 and C2 to those bytes while skipping the
656 heading multibyte characters. If there are not enough bytes in the 662 heading multibyte characters. If there are not enough bytes in the