Skip to content

Fix for build_js warnings#26512

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
sturkmen72:fix_build_js_warnings
Nov 25, 2024
Merged

Fix for build_js warnings#26512
asmorkalov merged 1 commit intoopencv:4.xfrom
sturkmen72:fix_build_js_warnings

Conversation

@sturkmen72
Copy link
Copy Markdown
Contributor

Fix for following build_js warnings

/build/precommit_docs/4.x/opencv/modules/imgproc/src/color_lab.cpp:965:19: warning: unused variable 'enablePackedLab' [-Wunused-const-variable]
/build/precommit_docs/4.x/opencv/modules/imgproc/src/color_lab.cpp:982:19: warning: unused variable 'enablePackedRGB2Luv' [-Wunused-const-variable]
/build/precommit_docs/4.x/opencv/modules/imgproc/src/color_lab.cpp:983:19: warning: unused variable 'enablePackedLuv2RGB' [-Wunused-const-variable]
/build/precommit_docs/4.x/opencv/modules/imgproc/src/color_lab.cpp:1387:20: warning: unused function 'trilinearPackedInterpolate' [-Wunused-function]

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
Copy link
Copy Markdown
Contributor

Tested manually wtih emscripten.

@asmorkalov asmorkalov merged commit 65d4112 into opencv:4.x Nov 25, 2024
@sturkmen72 sturkmen72 deleted the fix_build_js_warnings branch November 25, 2024 13:25
@asmorkalov asmorkalov mentioned this pull request Nov 28, 2024
@asmorkalov asmorkalov mentioned this pull request Jan 15, 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.

3 participants