From aae94efcfb25c32ba0e17a50539d3f683a23d4c8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 6 Jun 2020 22:46:05 +0200 Subject: [PATCH] Cleanup --- tasks/task_core_updater.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/task_core_updater.c b/tasks/task_core_updater.c index 009c442555..e0e5921ae1 100644 --- a/tasks/task_core_updater.c +++ b/tasks/task_core_updater.c @@ -138,10 +138,8 @@ static bool local_core_matches_remote_crc( if (local_core_file) { uint32_t crc = 0; - bool success = false; - /* Get crc value */ - success = intfstream_get_crc(local_core_file, &crc); + bool success = intfstream_get_crc(local_core_file, &crc); /* Close core file */ intfstream_close(local_core_file);