mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Fixed several issues found by static analysis in core module
This commit is contained in:
@@ -835,6 +835,7 @@ void UMat::copyTo(OutputArray _dst) const
|
||||
if( _dst.isUMat() )
|
||||
{
|
||||
UMat dst = _dst.getUMat();
|
||||
CV_Assert(dst.u);
|
||||
if( u == dst.u && dst.offset == offset )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user