Andrew Talbot : comdlg32: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Thu Apr 17 07:38:25 CDT 2008
Module: wine
Branch: master
Commit: 5d707bc2719c1f08338d2c3905306b6ca014e8a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5d707bc2719c1f08338d2c3905306b6ca014e8a1
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Apr 16 22:09:22 2008 +0100
comdlg32: Remove unused variable.
---
dlls/comdlg32/filedlg31.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/comdlg32/filedlg31.c b/dlls/comdlg32/filedlg31.c
index 10238de..c8fcf7e 100644
--- a/dlls/comdlg32/filedlg31.c
+++ b/dlls/comdlg32/filedlg31.c
@@ -143,10 +143,10 @@ static LPCWSTR FD31_GetFileType(LPCWSTR cfptr, LPCWSTR fptr, const WORD index)
*/
static BOOL FD31_ScanDir(const OPENFILENAMEW *ofn, HWND hWnd, LPCWSTR newPath)
{
- WCHAR buffer[BUFFILE];
- HWND hdlg, hdlgDir;
- LRESULT lRet = TRUE;
- HCURSOR hCursorWait, oldCursor;
+ WCHAR buffer[BUFFILE];
+ HWND hdlg;
+ LRESULT lRet = TRUE;
+ HCURSOR hCursorWait, oldCursor;
TRACE("Trying to change to %s\n", debugstr_w(newPath));
if ( newPath[0] && !SetCurrentDirectoryW( newPath ))
@@ -180,7 +180,7 @@ static BOOL FD31_ScanDir(const OPENFILENAMEW *ofn, HWND hWnd, LPCWSTR newPath)
/* list of directories */
strcpyW(buffer, FILE_star);
- if ((hdlgDir = GetDlgItem(hWnd, lst2)) != 0) {
+ if (GetDlgItem(hWnd, lst2) != 0) {
lRet = DlgDirListW(hWnd, buffer, lst2, stc1, DDL_EXCLUSIVE | DDL_DIRECTORY);
}
SetCursor(oldCursor);
More information about the wine-cvs
mailing list