提交 bf42b960 编写于 作者: A Alexander Alekhin

fix "unreachable code" warning

上级 1a8d7f95
......@@ -960,8 +960,7 @@ TEST(UMat, setOpenCL)
{
#ifndef HAVE_OPENCL
return; // test skipped
#endif
#else
// save the current state
bool useOCL = cv::ocl::useOpenCL();
......@@ -999,6 +998,7 @@ TEST(UMat, setOpenCL)
// reset state to the previous one
cv::ocl::setUseOpenCL(useOCL);
#endif
}
TEST(UMat, ReadBufferRect)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册