Module: wine Branch: master Commit: 80a57c617bd0f90c0fa584de08ac512447181cb9 URL: https://source.winehq.org/git/wine.git/?a=commit;h=80a57c617bd0f90c0fa584de0...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 17 12:56:49 2021 +0200
winebus.sys: Remove the no longer used CFStringToWSTR function.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/winebus.sys/bus_iohid.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/dlls/winebus.sys/bus_iohid.c b/dlls/winebus.sys/bus_iohid.c index d44f7ae257d..b1c11ee22ec 100644 --- a/dlls/winebus.sys/bus_iohid.c +++ b/dlls/winebus.sys/bus_iohid.c @@ -132,13 +132,6 @@ static struct platform_private *find_device_from_iohid(IOHIDDeviceRef IOHIDDevic return NULL; }
-static void CFStringToWSTR(CFStringRef cstr, LPWSTR wstr, int length) -{ - int len = min(CFStringGetLength(cstr), length-1); - CFStringGetCharacters(cstr, CFRangeMake(0, len), (UniChar*)wstr); - wstr[len] = 0; -} - static DWORD CFNumberToDWORD(CFNumberRef num) { int dwNum = 0;