From ce894b9fc6a37ab42e0a93ea6dd607f0d1ab2887 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 10 Feb 2014 12:43:54 +0900 Subject: [PATCH] xmllite/tests: There is no need to initialize OLE. --- dlls/xmllite/tests/reader.c | 10 ---------- dlls/xmllite/tests/writer.c | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c index 5774400378a..b7ef8627111 100644 --- a/dlls/xmllite/tests/reader.c +++ b/dlls/xmllite/tests/reader.c @@ -1671,16 +1671,8 @@ static void test_read_attribute(void) START_TEST(reader) { - HRESULT r; - - r = CoInitialize( NULL ); - ok( r == S_OK, "failed to init com\n"); - if (!init_pointers()) - { - CoUninitialize(); return; - } test_reader_create(); test_readerinput(); @@ -1697,6 +1689,4 @@ START_TEST(reader) test_read_pending(); test_readvaluechunk(); test_read_xmldeclaration(); - - CoUninitialize(); } diff --git a/dlls/xmllite/tests/writer.c b/dlls/xmllite/tests/writer.c index af4e1a86019..5f3d51104d3 100644 --- a/dlls/xmllite/tests/writer.c +++ b/dlls/xmllite/tests/writer.c @@ -70,18 +70,8 @@ static BOOL init_pointers(void) START_TEST(writer) { - HRESULT r; - - r = CoInitialize( NULL ); - ok( r == S_OK, "failed to init com\n"); - if (!init_pointers()) - { - CoUninitialize(); return; - } test_writer_create(); - - CoUninitialize(); }