From 227b862cba65aee0f89001f2b199d8cbb1541da1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 21 Feb 2017 19:09:43 +0100 Subject: [PATCH] Cleanups to task_load_content --- tasks/task_content.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index 3dc5f9b19f..9e2379924d 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -830,8 +830,6 @@ static bool task_load_content(content_ctx_info_t *content_info, name[0] = msg[0] = '\0'; - content_get_status(&contentless, &is_inited); - if (!content_load(content_info)) goto error; @@ -935,7 +933,8 @@ error: *error_string = strdup(msg); } } - if (string_is_empty(name)) *error_string = strdup("This core requires a content file.\n"); + if (string_is_empty(name)) + *error_string = strdup("This core requires a content file.\n"); return false; }