Commit a9607c85 authored by Maksim Shabunin's avatar Maksim Shabunin

Coverity: fixed uninitialized fields in test_goodfeaturetotrack

parent a921761d
...@@ -320,7 +320,6 @@ protected: ...@@ -320,7 +320,6 @@ protected:
void run_func(); void run_func();
int validate_test_results( int test_case_idx ); int validate_test_results( int test_case_idx );
int aperture_size;
Mat src, src_gray; Mat src, src_gray;
Mat src_gray32f, src_gray8U; Mat src_gray32f, src_gray8U;
Mat mask; Mat mask;
...@@ -348,7 +347,7 @@ CV_GoodFeatureToTTest::CV_GoodFeatureToTTest() ...@@ -348,7 +347,7 @@ CV_GoodFeatureToTTest::CV_GoodFeatureToTTest()
k = 0.04; k = 0.04;
mask = Mat(); mask = Mat();
test_case_count = 4; test_case_count = 4;
SrcType = 0;
} }
int CV_GoodFeatureToTTest::prepare_test_case( int test_case_idx ) int CV_GoodFeatureToTTest::prepare_test_case( int test_case_idx )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment