Merge pull request #19525 from danbey:Fix-cppcheck-error-in-carotete-lib
authorDan Ben-Yosef <danbey@gmail.com>
Mon, 15 Feb 2021 19:58:37 +0000 (21:58 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Feb 2021 19:58:37 +0000 (19:58 +0000)
commitf0445295bd4414a548462d7aed735985c12415b1
tree8de18f7c4ad1d25f94f969d29aee45dce0da64d7
parent5a06d679cfcb999e566cbb34e1a0bd9255ca5599
Merge pull request #19525 from danbey:Fix-cppcheck-error-in-carotete-lib

* Reduce if statement as it has the same expression on both sides of '&&'

If statement has the same expression on both sides so this can be reduce

Signed-off-by: Dan Ben Yosef <danbey@gmail.com>
* The if statement is to check width and height
3rdparty/carotene/src/resize.cpp