From 3cd701450a6c2f0a371cc2104210044f8e6e07f6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 30 Nov 2015 00:13:51 +0100 Subject: [PATCH] Cleanups --- runloop.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/runloop.c b/runloop.c index 6d75da57d9..87638f8b33 100644 --- a/runloop.c +++ b/runloop.c @@ -103,11 +103,8 @@ void rarch_main_msg_queue_push_new(uint32_t hash, unsigned prio, unsigned durati void rarch_main_msg_queue_push(const char *msg, unsigned prio, unsigned duration, bool flush) { - settings_t *settings; - settings = config_get_ptr(); - if(!settings->video.font_enable) - return; - if (!g_msg_queue) + settings_t *settings = config_get_ptr(); + if(!settings->video.font_enable || !g_msg_queue) return; #ifdef HAVE_THREADS