projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b312e3
)
Pacify Ubuntu GCC 13.2 in x_get_local_selection
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:39:57 +0000
(13:39 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:40:38 +0000
(13:40 -0800)
* src/xselect.c: Ignore -Wanalyzer-null-dereference,
to work around GCC bug 102671.
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index bb82798bb626abe43abb53db71532b4f0f7c6ef8..fd0f06eeed9962cc4ec322cfd72f7a98e2e53a4c 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-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