diff --git a/tasks/task_file_transfer.c b/tasks/task_file_transfer.c index 5b7c4ce5c5..cf13a6babc 100644 --- a/tasks/task_file_transfer.c +++ b/tasks/task_file_transfer.c @@ -44,7 +44,6 @@ static int rarch_main_data_nbio_iterate_transfer(nbio_handle_t *nbio) return -1; } - nbio->frame_count++; return 0; } @@ -109,6 +108,5 @@ task_finished: nbio_free(nbio->handle); nbio->handle = NULL; nbio->is_finished = false; - nbio->frame_count = 0; free(nbio); } diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index 58ff581b86..5f39d251fe 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -77,7 +77,6 @@ typedef struct nbio_handle transfer_cb_t cb; struct nbio_t *handle; unsigned pos_increment; - uint64_t frame_count; msg_queue_t *msg_queue; unsigned status; } nbio_handle_t;