1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #12357 from DEEPIR:master

* fix some static analyzer warnings

* fix some static analyzer warnings

* fix race condition of workthread control
This commit is contained in:
cyy
2018-09-02 21:34:43 +08:00
committed by Alexander Alekhin
parent dce4e94f02
commit 09837928d9
16 changed files with 44 additions and 43 deletions
+1 -1
View File
@@ -378,7 +378,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;