msvcp90: Remove parameter checks from functions that are only used for old msvcp versions.

This commit is contained in:
Alexandre Julliard 2014-01-13 11:50:36 +01:00
parent 0f81fcb02f
commit 4d7255d2df
1 changed files with 0 additions and 12 deletions

View File

@ -9713,12 +9713,6 @@ size_t __cdecl mbsrtowcs(wchar_t *dst, const char **pstr, size_t n, mbstate_t *s
wchar_t wc; wchar_t wc;
const char *src; const char *src;
if (!pstr)
{
*_errno() = EINVAL;
_invalid_parameter( NULL, NULL, NULL, 0, 0 );
return -1;
}
src = *pstr; src = *pstr;
if (!state) state = &local_state; if (!state) state = &local_state;
@ -9757,12 +9751,6 @@ size_t __cdecl wcsrtombs(char *dst, const wchar_t **pstr, size_t n, mbstate_t *s
char buffer[MB_LEN_MAX]; char buffer[MB_LEN_MAX];
size_t ret = 0; size_t ret = 0;
if (!pstr)
{
*_errno() = EINVAL;
_invalid_parameter( NULL, NULL, NULL, 0, 0 );
return -1;
}
src = *pstr; src = *pstr;
while (!dst || n > ret) while (!dst || n > ret)