urlmon/tests: Simplify test_IUriBuilder_GetPorttest_IUriBuilder_GetPort a bit.

Gerald Pfeifer gerald at pfeifer.com
Sat Sep 4 16:56:38 CDT 2010


got_port is not used at all here.

Gerald

---
 dlls/urlmon/tests/uri.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index 09cc3b6..9206ce0 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -6445,13 +6445,11 @@ static void test_IUriBuilder_GetPort(IUriBuilder *builder, const uri_builder_tes
         }
         if(SUCCEEDED(hr)) {
             DWORD expected;
-            BOOL got_port = FALSE;
 
             hr = IUri_GetPort(uri, &expected);
             ok(SUCCEEDED(hr),
                 "Error: Expected IUri_Port to succeed, but got 0x%08x instead on uri_builder_tests[%d].\n",
                 hr, test_index);
-            got_port = hr == S_OK;
 
             hr = IUriBuilder_GetPort(builder, &has_port, &received);
             todo_wine {
-- 
1.7.2.2



More information about the wine-patches mailing list