Fix 2 coverity issues
This commit is contained in:
parent
62271cbf59
commit
ab2593cf93
@ -206,7 +206,7 @@ inline void RawImageSource::interpolate_row_rb (float* ar, float* ab, float* pg,
|
|||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
nonGreen2[j] = cg[j] + nonGreen / n;
|
nonGreen2[j] = cg[j] + nonGreen / std::max(n, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,9 +127,7 @@ void findOriginalEntries (const std::vector<ThumbBrowserEntryBase*>& entries)
|
|||||||
|
|
||||||
FileBrowser::FileBrowser () :
|
FileBrowser::FileBrowser () :
|
||||||
menuLabel(nullptr),
|
menuLabel(nullptr),
|
||||||
#ifdef WIN32
|
|
||||||
miOpenDefaultViewer(nullptr),
|
miOpenDefaultViewer(nullptr),
|
||||||
#endif
|
|
||||||
selectDF(nullptr),
|
selectDF(nullptr),
|
||||||
thisIsDF(nullptr),
|
thisIsDF(nullptr),
|
||||||
autoDF(nullptr),
|
autoDF(nullptr),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user