diff --git a/modules/imgproc/src/demosaicing.cpp b/modules/imgproc/src/demosaicing.cpp index 4cb338c095..84ac903fe0 100644 --- a/modules/imgproc/src/demosaicing.cpp +++ b/modules/imgproc/src/demosaicing.cpp @@ -275,6 +275,8 @@ public: return static_cast(bayer - (bayer_end - width)); #else + CV_UNUSED(bayer); CV_UNUSED(bayer_step); CV_UNUSED(dst); + CV_UNUSED(width); CV_UNUSED(bcoeff); CV_UNUSED(gcoeff); CV_UNUSED(rcoeff); return 0; #endif }