diff options
author | Umang Jain <email@uajain.com> | 2020-08-05 12:53:49 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-08-06 12:57:06 +0100 |
commit | 035ee23910233eabbdaed1469f3d329d66e0ead4 (patch) | |
tree | 3d567b5ebbb75909ebdcd736808237c1bb6f6f5d /Documentation/contributing.rst | |
parent | af28a80647707074ed0596e2aa6d45c84b7d9f67 (diff) |
android: camera_device: Initialize 'id_' field in constructor
A 'id' is passed when a new CameraDevice is constructed in order for
unique identification. Failing to initialize it, will lead to the
issue of garbage return value via CameraDevice::id().
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/contributing.rst')
0 files changed, 0 insertions, 0 deletions