mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
Get rid of dereference before null check warning
This commit is contained in:
parent
397c8acd51
commit
b8ac629fbf
@ -198,7 +198,7 @@ static void input_overlay_load_active(input_overlay_t *ol, float opacity)
|
|||||||
if (!ol)
|
if (!ol)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (ol->iface->load)
|
if (ol->iface && ol->iface->load)
|
||||||
ol->iface->load(ol->iface_data, ol->active->load_images,
|
ol->iface->load(ol->iface_data, ol->active->load_images,
|
||||||
ol->active->load_images_size);
|
ol->active->load_images_size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user