projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d78d0
)
Fix pacifying gcc -Wanalyzer-null-dereference
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2022 17:18:53 +0000
(10:18 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2022 17:19:21 +0000
(10:19 -0700)
* src/xterm.c (handle_one_xevent): Use eassume not eassert.
eassert (X)’s suppress_checking does not let GCC assume X.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 9b0fe6f3f7b6bad570bc26cceb611956e0d6267c..dc06df246c43bb57be3d329e26e5b49c5ce02164 100644
(file)
--- 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)
{
- eass
ert
(hold_quit);
+ eass
ume
(hold_quit);
*hold_quit = inev.ie;
EVENT_INIT (inev.ie);