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:
@@ -179,7 +179,7 @@ bool Jpeg2KDecoder::readData( Mat& img )
|
||||
{
|
||||
Ptr<Jpeg2KDecoder> close_this(this, Jpeg2KDecoder_close);
|
||||
bool result = false;
|
||||
int color = img.channels() > 1;
|
||||
bool color = img.channels() > 1;
|
||||
uchar* data = img.ptr();
|
||||
size_t step = img.step;
|
||||
jas_stream_t* stream = (jas_stream_t*)m_stream;
|
||||
|
||||
Reference in New Issue
Block a user