diff --git a/modules/gpu/src/cuda/resize.cu b/modules/gpu/src/cuda/resize.cu index dc9f462d16..110e62d036 100644 --- a/modules/gpu/src/cuda/resize.cu +++ b/modules/gpu/src/cuda/resize.cu @@ -194,7 +194,7 @@ namespace cv { namespace gpu { namespace device } template - void call_resize_nearest_tex(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx) + void call_resize_nearest_tex(const PtrStepSz& /*src*/, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx) { const dim3 block(32, 8); const dim3 grid(divUp(dst.cols, block.x), divUp(dst.rows, block.y)); @@ -301,7 +301,7 @@ namespace cv { namespace gpu { namespace device template struct ResizeNearestDispatcher { - static void call(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) + static void call(const PtrStepSz& src, const PtrStepSz& /*srcWhole*/, int /*yoff*/, int /*xoff*/, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) { call_resize_nearest_glob(src, dst, fy, fx, stream); }