From 648424eaf213cc3da4b14ee309d961012ffca080 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 7 Mar 2025 15:33:54 +0300 Subject: [PATCH] Code review fixes. --- modules/imgproc/src/demosaicing.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/imgproc/src/demosaicing.cpp b/modules/imgproc/src/demosaicing.cpp index 84ac903fe0..68816a6fd6 100644 --- a/modules/imgproc/src/demosaicing.cpp +++ b/modules/imgproc/src/demosaicing.cpp @@ -412,6 +412,7 @@ public: return (int)(bayer - (bayer_end - width)); #else + CV_UNUSED(bayer); CV_UNUSED(bayer_step); CV_UNUSED(dst); CV_UNUSED(width); CV_UNUSED(blue); return 0; #endif } @@ -547,6 +548,8 @@ public: return (int)(bayer - (bayer_end - width)); #else + CV_UNUSED(bayer); CV_UNUSED(bayer_step); CV_UNUSED(dst); + CV_UNUSED(width); CV_UNUSED(blue); CV_UNUSED(alpha); return 0; #endif } @@ -657,6 +660,7 @@ public: return int(bayer - (bayer_end - width)); #else + CV_UNUSED(bayer); CV_UNUSED(bayer_step); CV_UNUSED(dst); CV_UNUSED(width); CV_UNUSED(blue); return 0; #endif }