diff --git a/modules/features2d/src/opencl/orb.cl b/modules/features2d/src/opencl/orb.cl index ba5ec6f6022a915b5c540d8f2d797499477ac3da..f058daf929581c8de318124849d294f9fec5a047 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);