Pacify Ubuntu GCC 13.2 in x_get_local_selection

* src/xselect.c: Ignore -Wanalyzer-null-dereference,
to work around GCC bug 102671.
This commit is contained in:
Paul Eggert 2024-01-06 13:39:57 -08:00
parent 0b312e310d
commit 4411d98c47

View file

@ -19,6 +19,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
/* Rewritten by jwz */
#include <config.h>
/* Work around GCC bug 102671. */
#if 10 <= __GNUC__
# pragma GCC diagnostic ignored "-Wanalyzer-null-dereference"
#endif
#include <limits.h>
#ifdef HAVE_SYS_TYPES_H