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:
@@ -89,8 +89,8 @@ void TextFileTestCase::CreateTestFile(size_t len, const char *contents)
|
||||
FILE *f = fopen(GetTestFileName(), "wb");
|
||||
CPPUNIT_ASSERT( f );
|
||||
|
||||
CPPUNIT_ASSERT( fwrite(contents, 1, len, f) >= 0 );
|
||||
CPPUNIT_ASSERT( fclose(f) == 0 );
|
||||
CPPUNIT_ASSERT_EQUAL( len, fwrite(contents, 1, len, f) );
|
||||
CPPUNIT_ASSERT_EQUAL( 0, fclose(f) );
|
||||
}
|
||||
|
||||
void TextFileTestCase::ReadEmpty()
|
||||
|
Reference in New Issue
Block a user