diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-07-30 21:59:23 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-08-19 20:42:20 +0200 |
commit | 021414a33248f9c1f6eb4a676f4a1fbcfa26f475 (patch) | |
tree | 8b6fb31e582583158da079aa164a9472de57b7a6 /drivers | |
parent | 5619295995e3262bb5770e8b5e945ffdc5442145 (diff) |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions