ipa: rkisp1: Initialize numCells in constructor
The non-static class member "numCells_" is not initialized in the constructor. Fix it. Reported-by: Coverity CID 365801 Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4085372c51
commit
437cc39668
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ static constexpr uint32_t kNumStartupFrames = 10;
|
|||
static constexpr double kRelativeLuminanceTarget = 0.4;
|
||||
|
||||
Agc::Agc()
|
||||
: frameCount_(0), filteredExposure_(0s)
|
||||
: frameCount_(0), numCells_(0), filteredExposure_(0s)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue