libcamera: ipu3: Remove initialization of Size
The Size struct constructor defaults the width and height to 0. Remove the empty braced-list initialization as it is not required. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -246,7 +246,7 @@ CameraConfiguration::Status IPU3CameraConfiguration::validate()
|
||||
* only. If no resolution is requested for any stream, or if no sensor
|
||||
* resolution is large enough, pick the largest one.
|
||||
*/
|
||||
Size size = {};
|
||||
Size size;
|
||||
|
||||
for (const StreamConfiguration &cfg : config_) {
|
||||
if (cfg.size.width > size.width)
|
||||
|
||||
Reference in New Issue
Block a user