summaryrefslogtreecommitdiff
path: root/include/android/system/core
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-03-21 10:51:05 +0100
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-04-02 19:37:38 +0200
commita2a7f4fc2d2a3fa7e5cb1b7d35b369d64f86c2ab (patch)
tree1d1dea1b047f0a9c5b01618f9ef63d69ae1b4ed4 /include/android/system/core
parent61d93434f5830cc9b1e057db2834fc2a64622f21 (diff)
pipeline: rpi: Fix potential empty optional readHEADmaster
If `!target`, then `*target` is undefined behaviour, so check if the optional is empty when printing the error message. Simplify the check as well. Fixes: 6c71ee1f153051 ("pipeline: raspberrypi: Introduce PipelineHandlerBase class") Fixes: 841ef2b4bb08ba ("pipeline: rpi: Add support for Raspberry Pi 5") Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'include/android/system/core')
0 files changed, 0 insertions, 0 deletions