minor icc warning fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-19 09:55:27 +00:00
parent 2c2944d6aa
commit 93a800a95e
11 changed files with 47 additions and 47 deletions

View File

@@ -1243,11 +1243,10 @@ void CorruptionTestCase::ExtractArchive(wxInputStream& in)
{
auto_ptr<wxArchiveInputStream> arc(m_factory->NewStream(in));
auto_ptr<wxArchiveEntry> entry(arc->GetNextEntry());
while (entry.get() != NULL) {
wxString name = entry->GetName();
char buf[1024];
while (arc->IsOk())
arc->Read(buf, sizeof(buf));
@@ -1329,7 +1328,7 @@ ArchiveTestSuite *ArchiveTestSuite::makeSuite()
addTest(test);
}
for (int options = 0; options <= PipeIn; options += PipeIn)
for (int options = 0; options <= PipeIn; options += PipeIn)
{
wxObject *pObj = wxCreateDynamicObject(m_name + _T("ClassFactory"));
wxArchiveClassFactory *factory;