diff --git a/modules/cudawarping/src/pyramids.cpp b/modules/cudawarping/src/pyramids.cpp index edb1500ad..3d942fc6a 100644 --- a/modules/cudawarping/src/pyramids.cpp +++ b/modules/cudawarping/src/pyramids.cpp @@ -232,7 +232,7 @@ Ptr cv::cuda::createImagePyramid(InputArray img, int nLayers, Stre { #ifndef HAVE_OPENCV_CUDALEGACY (void) img; - (void) numLayers; + (void) nLayers; (void) stream; throw_no_cuda(); return Ptr();