Fix some coverity issues

This commit is contained in:
heckflosse
2017-06-16 21:21:22 +02:00
parent 0088a4d3e8
commit 642b4cc86c
15 changed files with 66 additions and 21 deletions

View File

@@ -211,9 +211,12 @@ void dfInfo::updateRawImage()
void dfInfo::updateBadPixelList( RawImage *df )
{
if(!df) {
return;
}
const float threshold = 10.f / 8.f;
if( ri->getSensorType() == ST_BAYER || ri->getSensorType() == ST_FUJI_XTRANS ) {
if( df->getSensorType() == ST_BAYER || df->getSensorType() == ST_FUJI_XTRANS ) {
std::vector<badPix> badPixelsTemp;
#pragma omp parallel