summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 17:47:13 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 19:25:17 +0300
commit5d987629d9df6f9eeb76079a99810d57c820219e (patch)
tree4efb16c123e8aacf1724a1002416f42ab0f98fb5 /src/qcam/viewfinder.cpp
parentd98ab6f2ae54ed5c97f64479de506bb7ab2e64a5 (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