Gijs Vermeulen : kernel32: Remove unused function.

Alexandre Julliard julliard at winehq.org
Wed Nov 27 16:32:29 CST 2019


Module: wine
Branch: master
Commit: 22c2ce2fa605285102fc998c85952fd247b771a9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=22c2ce2fa605285102fc998c85952fd247b771a9

Author: Gijs Vermeulen <gijsvrm at codeweavers.com>
Date:   Wed Nov 27 18:21:52 2019 +0100

kernel32: Remove unused function.

Signed-off-by: Gijs Vermeulen <gijsvrm at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/locale.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 60428bcef0..3b485aeca0 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -176,17 +176,6 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
 };
 static CRITICAL_SECTION cache_section = { &critsect_debug, -1, 0, 0, 0, 0 };
 
-/* Copy Ascii string to Unicode without using codepages */
-static inline void strcpynAtoW( WCHAR *dst, const char *src, size_t n )
-{
-    while (n > 1 && *src)
-    {
-        *dst++ = (unsigned char)*src++;
-        n--;
-    }
-    if (n) *dst = 0;
-}
-
 extern const unsigned short wctype_table[] DECLSPEC_HIDDEN;
 extern const unsigned short nameprep_char_type[] DECLSPEC_HIDDEN;
 extern const WCHAR nameprep_mapping[] DECLSPEC_HIDDEN;




More information about the wine-cvs mailing list