remove unused variables in OCL_PERF_TEST_P()
authorMaks Naumov <maksqwe1@ukr.net>
Wed, 16 Apr 2014 21:19:04 +0000 (00:19 +0300)
committerMaks Naumov <maksqwe1@ukr.net>
Wed, 16 Apr 2014 21:19:04 +0000 (00:19 +0300)
modules/video/perf/opencl/perf_optflow_pyrlk.cpp

index b2492e1..1d7e643 100644 (file)
@@ -83,9 +83,7 @@ OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
     const PyrLKOpticalFlowParams params = GetParam();
     const int pointsCount = get<0>(params);
 
-    vector<Point2f> pts, nextPts;
-    vector<unsigned char> status;
-    vector<float> err;
+    vector<Point2f> pts;
     goodFeaturesToTrack(frame0, pts, pointsCount, 0.01, 0.0);
     Mat ptsMat(1, static_cast<int>(pts.size()), CV_32FC2, (void *)&pts[0]);
 
@@ -99,4 +97,4 @@ OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow,
 
 } } // namespace cvtest::ocl
 
-#endif // HAVE_OPENCL
\ No newline at end of file
+#endif // HAVE_OPENCL