Commit a7adda82 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Do not initialize dcb in BuildCommDCB[AndTimeouts].

parent fca70fe0
......@@ -1429,8 +1429,6 @@ BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR device, LPDCB lpdcb,
} else
temp=(LPSTR)device;
memset(lpdcb, 0, sizeof(DCB)); /* initialize */
lpdcb->DCBlength = sizeof(DCB);
if (strchr(temp,',')) { /* old style */
DCB16 dcb16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment