summaryrefslogtreecommitdiff
path: root/test/v4l2_device/capture_async.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-29 02:08:11 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-29 15:54:40 +0300
commitb771196d91245084784bf477f0e6aaf8642abffb (patch)
treee65fe9ce903daab3d721039db147d1245f5dc6ee /test/v4l2_device/capture_async.cpp
parent5caa8a971d3dc6bc1287c8c9dd932f6b64412cbc (diff)
libcamera: Don't ignore the return value of read() and write()
The glibc read() and write() functions are defined with the __warn_unused_result__ attribute when using FORTIFY_SOURCE. Don't ignore their return value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_device/capture_async.cpp')
0 files changed, 0 insertions, 0 deletions