diff --git a/icu4c/source/tools/toolutil/uperf.cpp b/icu4c/source/tools/toolutil/uperf.cpp index 7ee2c27cc1..adc4dad4b0 100644 --- a/icu4c/source/tools/toolutil/uperf.cpp +++ b/icu4c/source/tools/toolutil/uperf.cpp @@ -101,12 +101,10 @@ UPerfTest::UPerfTest(int32_t argc, const char* argv[], UErrorCode& status){ } if(options[ITERATIONS].doesOccur) { iterations = atoi(options[ITERATIONS].value); - time =0; } if(options[TIME].doesOccur) { time = atoi(options[TIME].value); - iterations = 0; } if(options[LINE_MODE].doesOccur) { diff --git a/icu4c/source/tools/toolutil/uperf.h b/icu4c/source/tools/toolutil/uperf.h index 217bb30443..0176253fc3 100644 --- a/icu4c/source/tools/toolutil/uperf.h +++ b/icu4c/source/tools/toolutil/uperf.h @@ -102,7 +102,7 @@ public: class U_EXPORT UPerfTest { public: UBool run(); - virtual UBool runTest( char* name = NULL, char* par = NULL ); // not to be overidden + UBool runTest( char* name = NULL, char* par = NULL ); // not to be overidden virtual void usage( void ) ;