Gerald Pfeifer : urlmon/tests: Simplify test_IUriBuilder_GetPorttest_IUriBuilder_GetPort a bit.
Alexandre Julliard
julliard at winehq.org
Mon Sep 6 13:53:10 CDT 2010
Module: wine
Branch: master
Commit: 9387fe19a0a874b888bd7c67cb051eca9d7ad4a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9387fe19a0a874b888bd7c67cb051eca9d7ad4a9
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Sep 4 23:56:38 2010 +0200
urlmon/tests: Simplify test_IUriBuilder_GetPorttest_IUriBuilder_GetPort a bit.
---
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 {
More information about the wine-cvs
mailing list