diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-07-01 14:44:07 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-08-03 11:16:17 +0200 |
commit | 320757897caba92d3cc6419db80e475de231cd0c (patch) | |
tree | d8fd3406066d5ef5bc71fccd8917e01c7d7b20dc /src | |
parent | 52a1332b4858546fe4ac72dca4475c16d2ff85b4 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/ipu3/ipu3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp index bc834f89..e30071cf 100644 --- a/src/libcamera/pipeline/ipu3/ipu3.cpp +++ b/src/libcamera/pipeline/ipu3/ipu3.cpp @@ -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) |