msvcrt: Remove dead code in wcscpy_s.
This commit is contained in:
parent
0879b83fe3
commit
15b0087d6e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue