summaryrefslogtreecommitdiff
path: root/lib/mini-gmp-gnulib.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-08 17:02:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-08 17:33:16 -0700
commit0b16e4e1f1b9e6de16aa613b1b363d76b1023766 (patch)
tree74fd7a86a1413b54f624f75254de63abf220fa90 /lib/mini-gmp-gnulib.c
parent68bc1446855c86b96d5bc22f819e63358ab250ac (diff)
downloademacs-0b16e4e1f1b9e6de16aa613b1b363d76b1023766.tar.gz
emacs-0b16e4e1f1b9e6de16aa613b1b363d76b1023766.tar.bz2
emacs-0b16e4e1f1b9e6de16aa613b1b363d76b1023766.zip
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/mini-gmp-gnulib.c')
-rw-r--r--lib/mini-gmp-gnulib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mini-gmp-gnulib.c b/lib/mini-gmp-gnulib.c
index a18ee8f6ab7..7d09c80e9e9 100644
--- a/lib/mini-gmp-gnulib.c
+++ b/lib/mini-gmp-gnulib.c
@@ -40,7 +40,8 @@
#endif
/* Pacify GCC -Wunused-variable for variables used only in 'assert' calls. */
-#if defined NDEBUG && 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
+#if (defined NDEBUG \
+ && (4 < __GNUC__ + (6 <= __GNUC_MINOR__) || defined __clang__))
# pragma GCC diagnostic ignored "-Wunused-variable"
#endif