Update of /cvsroot/cppunit/cppunit/src/DllPlugInTester
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27874/src/DllPlugInTester
Modified Files:
CommandLineParserTest.cpp DllPlugInTesterTest.cpp
Log Message:
Changes to suppress warnings of gcc -Wall -W -ansi, mainly from patch [1898225].
Index: CommandLineParserTest.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit/src/DllPlugInTester/CommandLineParserTest.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CommandLineParserTest.cpp 18 Jun 2004 08:15:29 -0000 1.4
--- CommandLineParserTest.cpp 21 Feb 2008 03:10:06 -0000 1.5
***************
*** 33,37 ****
{
int count =0;
! for ( const char **line = lines; *line != NULL; ++line, ++count );
delete _parser;
--- 33,38 ----
{
int count =0;
! for ( const char **line = lines; *line != NULL; ++line, ++count )
! ;
delete _parser;
Index: DllPlugInTesterTest.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit/src/DllPlugInTester/DllPlugInTesterTest.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DllPlugInTesterTest.cpp 25 Jun 2004 10:41:27 -0000 1.3
--- DllPlugInTesterTest.cpp 21 Feb 2008 03:10:06 -0000 1.4
***************
*** 4,8 ****
! int main(int argc, char* argv[])
{
CPPUNIT_NS::Test *suite = CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest();
--- 4,8 ----
! int main()
{
CPPUNIT_NS::Test *suite = CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest();
|