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