diff options
| author | Paul Eggert | 2024-01-06 13:39:57 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-01-06 13:40:38 -0800 |
| commit | 4411d98c47576d5d47ea17269617b7c5a0f04f3c (patch) | |
| tree | 8f93c251ca64b5e19f74406cc511bd94c293e3e6 /src | |
| parent | 0b312e310db2b06113f2b09d90951f82e8edf02f (diff) | |
| download | emacs-4411d98c47576d5d47ea17269617b7c5a0f04f3c.tar.gz emacs-4411d98c47576d5d47ea17269617b7c5a0f04f3c.zip | |
Pacify Ubuntu GCC 13.2 in x_get_local_selection
* src/xselect.c: Ignore -Wanalyzer-null-dereference,
to work around GCC bug 102671.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */ | |||
| 19 | /* Rewritten by jwz */ | 19 | /* Rewritten by jwz */ |
| 20 | 20 | ||
| 21 | #include <config.h> | 21 | #include <config.h> |
| 22 | |||
| 23 | /* Work around GCC bug 102671. */ | ||
| 24 | #if 10 <= __GNUC__ | ||
| 25 | # pragma GCC diagnostic ignored "-Wanalyzer-null-dereference" | ||
| 26 | #endif | ||
| 27 | |||
| 22 | #include <limits.h> | 28 | #include <limits.h> |
| 23 | 29 | ||
| 24 | #ifdef HAVE_SYS_TYPES_H | 30 | #ifdef HAVE_SYS_TYPES_H |