fixed defects from coverity.com
This commit is contained in:
@@ -1393,6 +1393,7 @@ void CV_StereoCalibrationTest::run( int )
|
||||
{
|
||||
ts->printf( cvtest::TS::LOG, "The file %s can not be opened or has invalid content\n", filepath.c_str() );
|
||||
ts->set_failed_test_info( f ? cvtest::TS::FAIL_INVALID_TEST_DATA : cvtest::TS::FAIL_MISSING_TEST_DATA );
|
||||
fclose(f);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user