diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-19 00:38:04 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-22 17:26:17 +0200 |
commit | 0228e9c927351d483fe696e5ca6eea9c2b2cbc87 (patch) | |
tree | 2113010903387bd38c015130074858c8a1891b12 /src/v4l2/v4l2_camera.h | |
parent | 7216c6a9bb815ca9d0b4247f8e04d87e4ac85fa2 (diff) |
libcamera: Declare static local variables as const where applicable
We use static local variables to indicate errors in methods that return
a const reference. The local variables can thus be const, make them so.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/v4l2/v4l2_camera.h')
0 files changed, 0 insertions, 0 deletions