Commit 15b0087d authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

msvcrt: Remove dead code in wcscpy_s.

parent 0879b83f
......@@ -1070,9 +1070,6 @@ INT CDECL MSVCRT_wcscpy_s( MSVCRT_wchar_t* wcDest, MSVCRT_size_t numElement, con
return MSVCRT_ERANGE;
}
if(size > numElement)
size = numElement;
memcpy( wcDest, wcSrc, size*sizeof(WCHAR) );
return 0;
......
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