diff options
Diffstat (limited to 'src/core/stdfile/filesenddlg.cpp')
-rw-r--r-- | src/core/stdfile/filesenddlg.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/stdfile/filesenddlg.cpp b/src/core/stdfile/filesenddlg.cpp index 7f6067dbf7..7a9fc85a4c 100644 --- a/src/core/stdfile/filesenddlg.cpp +++ b/src/core/stdfile/filesenddlg.cpp @@ -69,13 +69,11 @@ static void SetFileListAndSizeControls(HWND hwndDlg, FileDlgData *dat) static void FilenameToFileList(HWND hwndDlg, FileDlgData* dat, const TCHAR *buf)
{
- DWORD dwFileAttributes;
-
// Make sure that the file matrix is empty (the user may select files several times)
FreeFilesMatrix(&dat->files);
// Get the file attributes of selection
- dwFileAttributes = GetFileAttributes(buf);
+ DWORD dwFileAttributes = GetFileAttributes(buf);
if (dwFileAttributes == INVALID_FILE_ATTRIBUTES)
return;
|