Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-12 14:08:31 +00:00
parent 9777274a4a
commit 9386cb75e3
2 changed files with 6 additions and 6 deletions

View File

@@ -1102,7 +1102,6 @@ void ArchiveTestCase<Classes>::VerifyDir(wxString& path, size_t rootlen /*=0*/)
it != m_testEntries.end());
const TestEntry& testEntry = *it->second;
size_t size = 0;
#ifndef __WXMSW__
CPPUNIT_ASSERT_MESSAGE("timestamp check" + error_context,
@@ -1114,7 +1113,7 @@ void ArchiveTestCase<Classes>::VerifyDir(wxString& path, size_t rootlen /*=0*/)
CPPUNIT_ASSERT_MESSAGE(
"entry not found in archive" + error_entry, in.Ok());
size = in.GetLength();
size_t size = in.GetLength();
wxCharBuffer buf(size);
CPPUNIT_ASSERT_MESSAGE("Read" + error_context,
in.Read(buf.data(), size).LastRead() == size);