diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-26 17:47:13 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-26 19:25:17 +0300 |
commit | 5d987629d9df6f9eeb76079a99810d57c820219e (patch) | |
tree | 4efb16c123e8aacf1724a1002416f42ab0f98fb5 /src/qcam/viewfinder.cpp | |
parent | d98ab6f2ae54ed5c97f64479de506bb7ab2e64a5 (diff) |
cam: options: Don't initialise variable-length arrays
According to clang, variable-length arrays can't be initialised. Don't
do so, and explicitly set the last element to 0 instead.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/viewfinder.cpp')
0 files changed, 0 insertions, 0 deletions