summaryrefslogtreecommitdiff
path: root/src/core/stdfile/filesenddlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-24 21:10:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-24 21:10:28 +0000
commitee445e9c96823f95a9a8fc47cb8a1bb40c706bec (patch)
treeca26808239050b4ec9935991127b9fbad9b602bb /src/core/stdfile/filesenddlg.cpp
parent0eae5d3fe73c4db870912328fe2c41af89dcd01d (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile/filesenddlg.cpp')
-rw-r--r--src/core/stdfile/filesenddlg.cpp4
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;