libcamera: controls: Initialize ControlInfoMap::idmap_
The compiler generated constructor does not initialize the ControlInfoMap::idmap_ field. Fix this by explicitly initializing the field in the class declaration. Reported-by: Coverity CID=354657 Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
359ade5027
commit
2dab5d2a46
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ public:
|
|||
private:
|
||||
bool validate();
|
||||
|
||||
const ControlIdMap *idmap_;
|
||||
const ControlIdMap *idmap_ = nullptr;
|
||||
};
|
||||
|
||||
class ControlList
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue