summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/README.md
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-12-13 15:44:22 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-12-13 19:31:02 +0100
commita3122eeceafae4f37346ec40f24d20706473e962 (patch)
tree99fd5156b73b707d0cd769a0653685b696b8b83a /src/ipa/raspberrypi/README.md
parent13fdf9d0dcd371e8b348e234847b133494be615d (diff)
test: fence: Check write return value
The ::write() function used to signal a framebuffer fence in the unit test is marked with the 'warn_unused_result'. When building in debugoptimized mode not checking for the return value causes issues at build time: /test/fence.cpp:254:2: error: ignoring return value of function declared with 'warn_unused_result' attribute Fix that by checking the ::write() return value and emitting an error message in case the write fails. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reported-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/README.md')
0 files changed, 0 insertions, 0 deletions