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:
parent
1bf8eca626
commit
4f46ec8ddd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue