Michael Stefaniuc : shlwapi: Remove two unused assignments (PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 4 09:22:17 CST 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar  4 09:52:59 2015 +0100

shlwapi: Remove two unused assignments (PVS-Studio).

---

 dlls/shlwapi/url.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c
index ba2f241..1a53252 100644
--- a/dlls/shlwapi/url.c
+++ b/dlls/shlwapi/url.c
@@ -688,11 +688,11 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
     /* Canonicalize the base input prior to looking for the scheme */
     myflags = dwFlags & (URL_DONT_SIMPLIFY | URL_UNESCAPE);
     len = INTERNET_MAX_URL_LENGTH;
-    ret = UrlCanonicalizeW(pszBase, mbase, &len, myflags);
+    UrlCanonicalizeW(pszBase, mbase, &len, myflags);
 
     /* Canonicalize the relative input prior to looking for the scheme */
     len = INTERNET_MAX_URL_LENGTH;
-    ret = UrlCanonicalizeW(pszRelative, mrelative, &len, myflags);
+    UrlCanonicalizeW(pszRelative, mrelative, &len, myflags);
 
     /* See if the base has a scheme */
     res1 = ParseURLW(mbase, &base);




More information about the wine-cvs mailing list