mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Remove unnecessary condition (will never reach)
This commit is contained in:
parent
1b3dd8f38b
commit
5a3a915a9b
@ -1032,8 +1032,7 @@ void flip( InputArray _src, OutputArray _dst, int flip_mode )
|
||||
}
|
||||
|
||||
if ((size.width == 1 && flip_mode > 0) ||
|
||||
(size.height == 1 && flip_mode == 0) ||
|
||||
(size.height == 1 && size.width == 1 && flip_mode < 0))
|
||||
(size.height == 1 && flip_mode == 0))
|
||||
{
|
||||
return _src.copyTo(_dst);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user