Fix two coverity issues

This commit is contained in:
heckflosse
2018-11-17 19:25:32 +01:00
parent 50936b2447
commit 3824213e49
2 changed files with 9 additions and 8 deletions

View File

@@ -171,7 +171,8 @@ private:
PDAFLinesFilter::PDAFLinesFilter(RawImage *ri):
ri_(ri),
W_(ri->get_width()),
H_(ri->get_height())
H_(ri->get_height()),
offset_(0)
{
gthresh_ = new PDAFGreenEqulibrateThreshold(W_, H_);