mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
backport fixes for static analyzer warnings
Commits: -09837928d9-10fb88d027Excluded changes with std::atomic (C++98 requirement)
This commit is contained in:
@@ -314,7 +314,7 @@ int cv::countNonZero( InputArray _src )
|
||||
CV_Assert( func != 0 );
|
||||
|
||||
const Mat* arrays[] = {&src, 0};
|
||||
uchar* ptrs[1];
|
||||
uchar* ptrs[1] = {};
|
||||
NAryMatIterator it(arrays, ptrs);
|
||||
int total = (int)it.size, nz = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user