From 8cb8c145700d44abb4441581d0b278fb8e840224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Sun, 9 Jul 2017 22:14:36 +0200 Subject: [PATCH] msvcp140: Remove a redundant check. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Dösinger Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcp90/locale.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index f7a9294c816..f80c9b63dcd 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -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) { TRACE("(%s %p)\n", debugstr_a(src), dst); - - if (!src || !dst) - return 0; - return MultiByteToWideChar(CP_ACP, 0, src, -1, dst, MAX_PATH); }