Kaydet (Commit) a445eb43 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4189: local variable is initialized but not referenced

Change-Id: I83493466051649c9786cead0486e3112bf1eb5a4
üst c7b0ec89
......@@ -82,10 +82,12 @@ Test::Test() : documentName(), pStream(NULL)
LPVOID pvData = GlobalLock(hGlobal);
DWORD dwBytesRead = 0;
BOOL bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, NULL);
CPPUNIT_ASSERT_MESSAGE("FileStream: ReadFile error.", bRead);
GlobalUnlock(hGlobal);
CloseHandle(hFile);
HRESULT hr = CreateStreamOnHGlobal(hGlobal, TRUE, &pStream);
CPPUNIT_ASSERT_MESSAGE("FileStream: CreateStreamOnHGlobal failure.", hr == S_OK);
}
void Test::test_file_directory()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment