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.
This commit is contained in:
parent
c2d78d09c1
commit
022a1f48a4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue