diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:38:50 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:38:50 +0000 |
commit | e6e6abad59566b3b67384f5beea738703173288c (patch) | |
tree | c1bf48360accf075d03c5262e0a2984d9d4dc27a /win | |
parent | 310b30c92e5234d47254f9de83ab3c06c1fa86d1 (diff) | |
download | tigervnc-e6e6abad59566b3b67384f5beea738703173288c.tar.gz tigervnc-e6e6abad59566b3b67384f5beea738703173288c.zip |
Eliminated unused lastError variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3355 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/FolderManager.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/win/rfb_win32/FolderManager.cxx b/win/rfb_win32/FolderManager.cxx index 3ab49a1c..bf2c2aa5 100644 --- a/win/rfb_win32/FolderManager.cxx +++ b/win/rfb_win32/FolderManager.cxx @@ -155,7 +155,6 @@ FolderManager::getDirInfo(char *pPath, FileInfo *pFileInfo, unsigned int dirOnly WIN32_FIND_DATA FindFileData; SetErrorMode(SEM_FAILCRITICALERRORS); HANDLE handle = FindFirstFile(path, &FindFileData); - DWORD lastError = GetLastError(); SetErrorMode(0); if (handle != INVALID_HANDLE_VALUE) { @@ -205,7 +204,6 @@ FolderManager::getInfo(char *pFullPath, FILEINFO *pFIStruct) WIN32_FIND_DATA FindFileData; SetErrorMode(SEM_FAILCRITICALERRORS); HANDLE hFile = FindFirstFile(pFullPath, &FindFileData); - DWORD lastError = GetLastError(); SetErrorMode(0); if (hFile != INVALID_HANDLE_VALUE) { FindClose(hFile); |