Clean up use of memset

This commit is contained in:
akallabeth
2022-10-03 13:28:17 +02:00
committed by akallabeth
parent 8671339b12
commit 98f9a4da19

View File

@@ -569,7 +569,6 @@ out:
static BOOL xf_process_x_events(freerdp* instance)
{
BOOL status;
XEvent xevent;
int pending_status;
xfContext* xfc = (xfContext*)instance->context;
status = TRUE;
@@ -582,7 +581,8 @@ static BOOL xf_process_x_events(freerdp* instance)
if (pending_status)
{
ZeroMemory(&xevent, sizeof(xevent));
XEvent xevent = { 0 };
XNextEvent(xfc->display, &xevent);
status = xf_event_process(instance, &xevent);
}