lcd: avoid possible NULL dereference
Do not dereference bmp before the check if it is NULL. The problem was indicated by cppcheck. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Showing
想要评论请 注册 或 登录