aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLadislav <Zezula>2014-05-26 23:07:00 +0200
committerLadislav <Zezula>2014-05-26 23:07:00 +0200
commit18c9b7c44f21efb8bbc94414a10a2cc4374468d6 (patch)
tree1356824aa9c4d7bcff143bff7f234b0aa8585958 /test
parentd8048190bdd5c75f7b6047139962f561c6aa4ed6 (diff)
+ Fixed crash caused by uninitialized variable
Diffstat (limited to 'test')
-rw-r--r--test/StormTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index 351ed5e..bac7c2a 100644
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -2090,7 +2090,7 @@ static int TestReadFile_MasterMirror(const char * szMirrorName, const char * szM
// Test of the TFileStream object
static int TestFileStreamOperations(const char * szPlainName, DWORD dwStreamFlags)
{
- TFileStream * pStream;
+ TFileStream * pStream = NULL;
TLogHelper Logger("FileStreamTest", szPlainName);
ULONGLONG ByteOffset;
ULONGLONG FileSize = 0;