From c6a1bcfcbe61f3f7ca087da677d3682b51228683 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 23 Oct 2016 06:20:13 +0200 Subject: [PATCH] Prevent dereference after null check warning --- runloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runloop.c b/runloop.c index 538d3dff69..41c64760ef 100644 --- a/runloop.c +++ b/runloop.c @@ -787,7 +787,7 @@ static INLINE int runloop_iterate_time_to_exit(bool quit_key_pressed) runloop_exec = false; if (runloop_core_shutdown_initiated && - settings->load_dummy_on_core_shutdown) + settings && settings->load_dummy_on_core_shutdown) { content_ctx_info_t content_info = {0}; if (!task_push_content_load_default(