Skip to content

Warning fix on Windows.#27043

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/debayer_warn_fix
Mar 11, 2025
Merged

Warning fix on Windows.#27043
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/debayer_warn_fix

Conversation

@asmorkalov
Copy link
Copy Markdown
Contributor

Introduced in #26868
Warning:

C:\build\precommit_windows64\4.x\opencv\modules\imgproc\src\demosaicing.cpp(683): warning C4101: 'vecOp': unreferenced local variable [C:\build\precommit_windows64\build\modules\imgproc\opencv_imgproc.vcxproj]
  C:\build\precommit_windows64\4.x\opencv\modules\imgproc\src\demosaicing.cpp(682): note: while compiling class template member function 'void cv::Bayer2Gray_Invoker<T,SIMDInterpolator>::operator ()(const cv::Range &) const'
          with
          [
              T=uchar,
              SIMDInterpolator=cv::SIMDBayerInterpolator_8u
          ]
  C:\build\precommit_windows64\4.x\opencv\modules\imgproc\src\demosaicing.cpp(793): note: see reference to class template instantiation 'cv::Bayer2Gray_Invoker<T,SIMDInterpolator>' being compiled
          with
          [
              T=uchar,
              SIMDInterpolator=cv::SIMDBayerInterpolator_8u
          ]
  C:\build\precommit_windows64\4.x\opencv\modules\imgproc\src\demosaicing.cpp(1779): note: see reference to function template instantiation 'void cv::Bayer2Gray_<uchar,cv::SIMDBayerInterpolator_8u>(const cv::Mat &,cv::Mat &,int)' being compiled

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov added this to the 4.12.0 milestone Mar 11, 2025
@asmorkalov asmorkalov self-assigned this Mar 11, 2025
@asmorkalov asmorkalov merged commit fa092b4 into opencv:4.x Mar 11, 2025
28 checks passed
@asmorkalov asmorkalov mentioned this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant