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