summaryrefslogtreecommitdiff
blob: 1347590ef462b332f1a0b9344a3fc06439d8efd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/core/archive.cpp
+++ b/src/core/archive.cpp
@@ -886,8 +886,8 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o
         catch( eFSServices& e)
           {
             TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
-            eArchiveOpen e(strTempFile, errStr);
-            throw e;
+            eArchiveOpen ex(strTempFile, errStr);
+            throw ex;
           }
       }
     ///////////////////////////////////////////////////////////////////////////////