mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
backport fixes for static analyzer warnings
Commits: -09837928d9-10fb88d027Excluded changes with std::atomic (C++98 requirement)
This commit is contained in:
@@ -342,7 +342,7 @@ public:
|
||||
int lutcn = lut_.channels();
|
||||
|
||||
const Mat* arrays[] = {&src, &dst, 0};
|
||||
uchar* ptrs[2];
|
||||
uchar* ptrs[2] = {};
|
||||
NAryMatIterator it(arrays, ptrs);
|
||||
int len = (int)it.size;
|
||||
|
||||
@@ -408,7 +408,7 @@ void cv::LUT( InputArray _src, InputArray _lut, OutputArray _dst )
|
||||
CV_Assert( func != 0 );
|
||||
|
||||
const Mat* arrays[] = {&src, &dst, 0};
|
||||
uchar* ptrs[2];
|
||||
uchar* ptrs[2] = {};
|
||||
NAryMatIterator it(arrays, ptrs);
|
||||
int len = (int)it.size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user