1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00

Pacify compiler warning in handle_one_xevent

* src/xterm.c (x_dnd_get_target_window): Set proto_out even if
it won't be used because target is None.  Reported by Lars
Ingebrigtsen <larsi@gnus.org>.
This commit is contained in:
Po Lu 2022-03-16 19:43:06 +08:00
parent 1bf8eca626
commit 4f46ec8ddd

View file

@ -866,6 +866,7 @@ x_dnd_get_target_window (struct x_display_info *dpyinfo,
if (x_had_errors_p (dpyinfo->display) || !rc)
{
x_uncatch_errors_after_check ();
*proto_out = -1;
return None;
}
}