summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 42ab90df751..37bbd5d7e1c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -13826,8 +13826,9 @@ handle_one_xevent (struct x_display_info *dpyinfo,
if (x_dnd_in_progress || x_dnd_waiting_for_finish)
{
- if (hold_quit)
- *hold_quit = inev.ie;
+ eassert (hold_quit);
+
+ *hold_quit = inev.ie;
EVENT_INIT (inev.ie);
}