msvcp140: Remove a redundant check.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stefan Dösinger 2017-07-09 22:14:36 +02:00 committed by Alexandre Julliard
parent 718f8265c0
commit 8cb8c14570
1 changed files with 0 additions and 4 deletions

View File

@ -11227,10 +11227,6 @@ size_t __cdecl wcsrtombs(char *dst, const wchar_t **pstr, size_t n, mbstate_t *s
int __cdecl _To_wide(const char *src, wchar_t *dst) int __cdecl _To_wide(const char *src, wchar_t *dst)
{ {
TRACE("(%s %p)\n", debugstr_a(src), dst); TRACE("(%s %p)\n", debugstr_a(src), dst);
if (!src || !dst)
return 0;
return MultiByteToWideChar(CP_ACP, 0, src, -1, dst, MAX_PATH); return MultiByteToWideChar(CP_ACP, 0, src, -1, dst, MAX_PATH);
} }