ORB.cl : fixed redefinition of val
authorPhilipp Hasper <PhilLab@users.noreply.github.com>
Sat, 23 Aug 2014 17:07:14 +0000 (19:07 +0200)
committerPhilipp Hasper <PhilLab@users.noreply.github.com>
Sat, 23 Aug 2014 17:07:14 +0000 (19:07 +0200)
modules/features2d/src/opencl/orb.cl

index ba5ec6f..f058daf 100644 (file)
@@ -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);