diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-08 10:18:53 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-04-08 10:19:21 -0700 |
commit | 022a1f48a4e2005be7aa66b67eb2f17f8386c853 (patch) | |
tree | 34858a594afd35ca35fd7a2fbb3821c1d5685147 | |
parent | c2d78d09c1eca4df0836d0fb41562ac0ae1071d6 (diff) | |
download | emacs-022a1f48a4e2005be7aa66b67eb2f17f8386c853.tar.gz emacs-022a1f48a4e2005be7aa66b67eb2f17f8386c853.tar.bz2 emacs-022a1f48a4e2005be7aa66b67eb2f17f8386c853.zip |
Fix pacifying gcc -Wanalyzer-null-dereference
* src/xterm.c (handle_one_xevent): Use eassume not eassert.
eassert (X)’s suppress_checking does not let GCC assume X.
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 9b0fe6f3f7b..dc06df246c4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13930,7 +13930,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, if (x_dnd_in_progress || x_dnd_waiting_for_finish) { - eassert (hold_quit); + eassume (hold_quit); *hold_quit = inev.ie; EVENT_INIT (inev.ie); |