From ed40b13ea00fa2106d87b73fa6445dc02db75857 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 14 May 2017 17:32:07 +0200 Subject: [PATCH] (task_image.c) Cleanups --- tasks/task_image.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tasks/task_image.c b/tasks/task_image.c index 5043a41526..f7a6fb515d 100644 --- a/tasks/task_image.c +++ b/tasks/task_image.c @@ -31,12 +31,11 @@ enum image_status_enum { - IMAGE_STATUS_POLL = 0, + IMAGE_STATUS_NONE = 0, IMAGE_STATUS_TRANSFER, IMAGE_STATUS_TRANSFER_PARSE, IMAGE_STATUS_PROCESS_TRANSFER, - IMAGE_STATUS_PROCESS_TRANSFER_PARSE, - IMAGE_STATUS_TRANSFER_PARSE_FREE + IMAGE_STATUS_PROCESS_TRANSFER_PARSE }; struct nbio_image_handle @@ -259,9 +258,7 @@ bool task_image_load_handler(retro_task_t *task) } if (!image->is_finished) break; - case IMAGE_STATUS_TRANSFER_PARSE_FREE: - case IMAGE_STATUS_POLL: - default: + case IMAGE_STATUS_NONE: break; } }