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

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


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

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

ieframe: Remove unused assignments (PVS-Studio).

---

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

diff --git a/dlls/ieframe/intshcut.c b/dlls/ieframe/intshcut.c
index d4b71a7..a780fea 100644
--- a/dlls/ieframe/intshcut.c
+++ b/dlls/ieframe/intshcut.c
@@ -504,7 +504,7 @@ static HRESULT WINAPI PersistFile_Load(IPersistFile *pFile, LPCOLESTR pszFileNam
                                           STGM_READWRITE | STGM_SHARE_EXCLUSIVE,
                                           &pPropStg);
 
-            r = get_profile_string(str_header, str_iconfile, pszFileName, &iconfile);
+            get_profile_string(str_header, str_iconfile, pszFileName, &iconfile);
             if (iconfile != NULL)
             {
                 PROPSPEC ps;
@@ -522,7 +522,7 @@ static HRESULT WINAPI PersistFile_Load(IPersistFile *pFile, LPCOLESTR pszFileNam
                 CoTaskMemFree(iconfile);
             }
 
-            r = get_profile_string(str_header, str_iconindex, pszFileName, &iconindexstring);
+            get_profile_string(str_header, str_iconindex, pszFileName, &iconindexstring);
 
             if (iconindexstring != NULL)
             {




More information about the wine-cvs mailing list