summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/v4l2_m2mdevice.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-08-19 19:34:09 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-08-22 11:09:05 +0300
commitaf4304e497837963388e8ac4253c49cd6bd3ef54 (patch)
tree4088bc86a6589693876d1175aab41bacb9e6753e /test/v4l2_videodevice/v4l2_m2mdevice.cpp
parentd209b2d4b4352b21114e129d088f15ddb381dee4 (diff)
libcamera: process: Properly ignore unused result with gcc
Casting the return value of a function to (void) doesn't ignore the unused result warning with gcc. Use a #pragma to fix this properly, to fix compilation with _FORTIFY_SOURCE. Fixes: df23ab95f3d7 ("libcamera: process: fix compilation on Chromium OS") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_m2mdevice.cpp')
0 files changed, 0 insertions, 0 deletions