libcamera: geometry: Set steps to 0 in default SizeRange constructor
The default SizeRange constructor initializes the min and max members, but leaves the hStep and vStep members uninitialized. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <email@uajain.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
e8cc0a2658
commit
09eeec1520
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class SizeRange
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SizeRange()
|
SizeRange()
|
||||||
|
: hStep(0), vStep(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue