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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user