shell32: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Wed Nov 21 15:17:03 CST 2012


Changelog:
    shell32: Remove unused variable.

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-patches mailing list