From: Paul Eggert Date: Sat, 6 Jan 2024 21:39:57 +0000 (-0800) Subject: Pacify Ubuntu GCC 13.2 in x_get_local_selection X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4411d98c47576d5d47ea17269617b7c5a0f04f3c;p=emacs.git Pacify Ubuntu GCC 13.2 in x_get_local_selection * src/xselect.c: Ignore -Wanalyzer-null-dereference, to work around GCC bug 102671. --- diff --git a/src/xselect.c b/src/xselect.c index bb82798bb62..fd0f06eeed9 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -19,6 +19,12 @@ along with GNU Emacs. If not, see . */ /* Rewritten by jwz */ #include + +/* Work around GCC bug 102671. */ +#if 10 <= __GNUC__ +# pragma GCC diagnostic ignored "-Wanalyzer-null-dereference" +#endif + #include #ifdef HAVE_SYS_TYPES_H