diff --git a/HLLib/FileMapping.cpp b/HLLib/FileMapping.cpp index eef612d..315dc25 100644 --- a/HLLib/FileMapping.cpp +++ b/HLLib/FileMapping.cpp @@ -132,7 +132,7 @@ hlBool CFileMapping::OpenInternal(hlUInt uiMode) } } #else - hlInt iMode; + hlInt iMode = 0; if((uiMode & HL_MODE_READ) && (uiMode & HL_MODE_WRITE)) { diff --git a/HLLib/FileStream.cpp b/HLLib/FileStream.cpp index c818d7d..2a6a2b8 100644 --- a/HLLib/FileStream.cpp +++ b/HLLib/FileStream.cpp @@ -82,7 +82,7 @@ hlBool CFileStream::Open(hlUInt uiMode) return hlFalse; } #else - hlInt iMode; + hlInt iMode = 0; if((uiMode & HL_MODE_READ) && (uiMode & HL_MODE_WRITE)) {