Andrew Talbot : shell32: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Thu Nov 22 13:48:21 CST 2012


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Nov 21 21:17:03 2012 +0000

shell32: Remove unused variable.

---

 dlls/shell32/brsfolder.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c
index 0e7b9d3..d48666f 100644
--- a/dlls/shell32/brsfolder.c
+++ b/dlls/shell32/brsfolder.c
@@ -410,7 +410,6 @@ static HTREEITEM InsertTreeViewItem( browse_info *info, IShellFolder * lpsf,
 static void FillTreeView( browse_info *info, IShellFolder * lpsf,
                  LPITEMIDLIST  pidl, HTREEITEM hParent, IEnumIDList* lpe)
 {
-	HTREEITEM	hPrev = 0;
 	LPITEMIDLIST	pidlTemp = 0;
 	ULONG		ulFetched;
 	HRESULT		hr;
@@ -450,7 +449,7 @@ static void FillTreeView( browse_info *info, IShellFolder * lpsf,
                 }
 	    }
 
-	    if (!(hPrev = InsertTreeViewItem(info, lpsf, pidlTemp, pidl, pEnumIL, hParent)))
+	    if (!InsertTreeViewItem(info, lpsf, pidlTemp, pidl, pEnumIL, hParent))
 	        goto done;
 	    SHFree(pidlTemp);  /* Finally, free the pidl that the shell gave us... */
 	    pidlTemp=NULL;




More information about the wine-cvs mailing list