From d014cb8fb48982ffec87dad36a40a455896ca88f Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Fri, 27 Dec 2013 14:44:58 +0400 Subject: [PATCH] fixed warning [-Wempty-body] --- modules/ocl/src/gftt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/src/gftt.cpp b/modules/ocl/src/gftt.cpp index a82196d78f..4f24d13588 100644 --- a/modules/ocl/src/gftt.cpp +++ b/modules/ocl/src/gftt.cpp @@ -208,7 +208,7 @@ void cv::ocl::GoodFeaturesToTrackDetector_OCL::operator ()(const oclMat& image, if(!use_cpu_sorter) { // round to 2^n unsigned int n=1; - for(n=1;n<(unsigned int)corner_array_size;n<<=1); + for(n=1;n<(unsigned int)corner_array_size;n<<=1) ; corner_array_size = (int)n; ensureSizeIsEnough(1, corner_array_size , CV_32FC2, tmpCorners_);