From: Alex Henrie <alexhenrie24(a)gmail.com> --- .../windows.system.profile.systemmanufacturers/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/dlls/windows.system.profile.systemmanufacturers/main.c b/dlls/windows.system.profile.systemmanufacturers/main.c index d2feb32054e..ff9499cc829 100644 --- a/dlls/windows.system.profile.systemmanufacturers/main.c +++ b/dlls/windows.system.profile.systemmanufacturers/main.c @@ -24,15 +24,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(smbios); -static const char *debugstr_hstring( HSTRING hstr ) -{ - const WCHAR *str; - UINT32 len; - if (hstr && !((ULONG_PTR)hstr >> 16)) return "(invalid)"; - str = WindowsGetStringRawBuffer(hstr, &len); - return wine_dbgstr_wn(str, len); -} - struct smbios_statics { IActivationFactory IActivationFactory_iface; @@ -224,7 +215,7 @@ HRESULT WINAPI DllGetActivationFactory( HSTRING classid, IActivationFactory **fa { const WCHAR *name = WindowsGetStringRawBuffer( classid, NULL ); - TRACE( "classid %s, factory %p.\n", debugstr_hstring(classid), factory ); + TRACE( "classid %s, factory %p.\n", debugstr_h(classid), factory ); *factory = NULL; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3157