removing unreachable codes in gbackend#23904
Conversation
|
Hi @kai-waang ! Thanks for this PR. Does this code cause warnings so you decided to remove it? Could you please specify details of your platform if it causes any troubles? No objections with the PR but trying to understand the background. |
I think this PR is made when I was reading these codes and trying to do some cleaning. I'm sure it doesn't cause any warnings on my machine. |
dmatveev
left a comment
There was a problem hiding this comment.
I believe (back in 2017) this code has been written to avoid some warnings.. But if it passes the current CI, there's no such warnings in 2023.
At least it is always possible to revert it in case of problems
Thanks for your contribution!
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.