Thomas Mullaly : urlmon: Removed some unneeded URI_THIS casts.

Alexandre Julliard julliard at winehq.org
Tue Sep 7 11:22:54 CDT 2010


Module: wine
Branch: master
Commit: d9b463af2741088625a7f6e188cffb6954677de4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d9b463af2741088625a7f6e188cffb6954677de4

Author: Thomas Mullaly <thomas.mullaly at gmail.com>
Date:   Sun Sep  5 22:10:35 2010 -0400

urlmon: Removed some unneeded URI_THIS casts.

---

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

diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 41c2343..ef6ba22 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -3943,17 +3943,13 @@ static HRESULT WINAPI Uri_GetQuery(IUri *iface, BSTR *pstrQuery)
 
 static HRESULT WINAPI Uri_GetRawUri(IUri *iface, BSTR *pstrRawUri)
 {
-    Uri *This = URI_THIS(iface);
-    TRACE("(%p)->(%p)\n", This, pstrRawUri);
-
-    /* Just forward the call to GetPropertyBSTR. */
+    TRACE("(%p)->(%p)\n", iface, pstrRawUri);
     return Uri_GetPropertyBSTR(iface, Uri_PROPERTY_RAW_URI, pstrRawUri, 0);
 }
 
 static HRESULT WINAPI Uri_GetSchemeName(IUri *iface, BSTR *pstrSchemeName)
 {
-    Uri *This = URI_THIS(iface);
-    TRACE("(%p)->(%p)\n", This, pstrSchemeName);
+    TRACE("(%p)->(%p)\n", iface, pstrSchemeName);
     return Uri_GetPropertyBSTR(iface, Uri_PROPERTY_SCHEME_NAME, pstrSchemeName, 0);
 }
 




More information about the wine-cvs mailing list