From: Anna R Békefi <annareginabekefi@gmail.com> --- dlls/combase/tests/roapi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/combase/tests/roapi.c b/dlls/combase/tests/roapi.c index c31ae8b340d..0b4828d6e76 100644 --- a/dlls/combase/tests/roapi.c +++ b/dlls/combase/tests/roapi.c @@ -716,8 +716,6 @@ static void clear_restricted_error_state(void) static void test_restricted_error_handling(void) { static const WCHAR originate_msg[] = L"originate-one"; - static const WCHAR old_msg[] = L"old-message"; - static const WCHAR new_msg[] = L"new-message"; static const WCHAR suppressed_msg[] = L"suppressed"; IRestrictedErrorInfo *info = NULL; HRESULT hr; @@ -784,7 +782,7 @@ static void test_restricted_error_handling(void) ok(hr == S_FALSE, "GetRestrictedErrorInfo returned %#lx.\n", hr); ok(!info, "got info %p.\n", info); - ok(RoOriginateErrorW(E_FAIL, 0, old_msg), "RoOriginateErrorW failed.\n"); + /* ok(RoOriginateErrorW(E_FAIL, 0, old_msg), "RoOriginateErrorW failed.\n"); hr = RoCaptureErrorContext(E_FAIL); ok(hr == S_OK, "RoCaptureErrorContext returned %#lx.\n", hr); @@ -813,7 +811,7 @@ static void test_restricted_error_handling(void) check_restricted_error_details(info, E_BOUNDS, bounds_msg, bounds_msg); IRestrictedErrorInfo_Release(info); info = NULL; - + */ hr = RoSetErrorReportingFlags(RO_ERROR_REPORTING_SUPPRESSSETERRORINFO); ok(hr == S_OK, "RoSetErrorReportingFlags returned %#lx.\n", hr); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10659