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:
Laurent Pinchart 2020-05-19 04:24:51 +03:00
parent e8cc0a2658
commit 09eeec1520

View file

@ -71,6 +71,7 @@ class SizeRange
{ {
public: public:
SizeRange() SizeRange()
: hStep(0), vStep(0)
{ {
} }