From 9b1136518c23c79ecd43759b9f3a471dc1aafcaa Mon Sep 17 00:00:00 2001 From: Philipp Hasper Date: Sat, 23 Aug 2014 19:07:14 +0200 Subject: [PATCH] ORB.cl : fixed redefinition of val --- modules/features2d/src/opencl/orb.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/src/opencl/orb.cl b/modules/features2d/src/opencl/orb.cl index ba5ec6f..f058daf 100644 --- a/modules/features2d/src/opencl/orb.cl +++ b/modules/features2d/src/opencl/orb.cl @@ -207,7 +207,7 @@ ORB_computeDescriptor(__global const uchar* imgbuf, int imgstep, int imgoffset0, pattern += 12*2; #elif WTA_K == 4 - int t0, t1, t2, t3, k, val; + int t0, t1, t2, t3, k; int a, b; t0 = GET_VALUE(0); t1 = GET_VALUE(1); -- 2.7.4