fixed defects from coverity.com
This commit is contained in:
@@ -2897,7 +2897,7 @@ static std::ostream& operator << (std::ostream& out, const MatPart& m)
|
||||
}
|
||||
|
||||
MatComparator::MatComparator(double _maxdiff, int _context)
|
||||
: maxdiff(_maxdiff), context(_context) {}
|
||||
: maxdiff(_maxdiff), realmaxdiff(DBL_MAX), context(_context) {}
|
||||
|
||||
::testing::AssertionResult
|
||||
MatComparator::operator()(const char* expr1, const char* expr2,
|
||||
|
@@ -855,6 +855,9 @@ int64 TestBase::_calibrate()
|
||||
#endif
|
||||
TestBase::TestBase(): testStrategy(PERF_STRATEGY_DEFAULT), declare(this)
|
||||
{
|
||||
lastTime = totalTime = timeLimit = 0;
|
||||
nIters = currentIter = runsPerIteration = 0;
|
||||
verified = false;
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning(pop)
|
||||
|
Reference in New Issue
Block a user