From d384cb351f60f3212f39560171fdd59227c77a1f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 7 Feb 2016 17:40:42 +0100 Subject: [PATCH] Cleanup --- core_info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core_info.c b/core_info.c index 86668c1f3c..3fcf68918d 100644 --- a/core_info.c +++ b/core_info.c @@ -711,7 +711,8 @@ bool core_info_ctl(enum core_info_state state, void *data) core_info_ctx_find_t *info = (core_info_ctx_find_t*)data; if (!info || !core_info_curr_list) return false; - if (!(info->inf = core_info_find(core_info_curr_list, info->path))) + info->inf = core_info_find(core_info_curr_list, info->path); + if (!info->inf) return false; } break;