mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 14:54:10 +00:00
Cleanups
This commit is contained in:
parent
7c1938b674
commit
fad7f8c1df
@ -124,8 +124,8 @@ static int task_http_iterate_transfer(retro_task_t *task)
|
|||||||
|
|
||||||
static void rarch_task_http_transfer_handler(retro_task_t *task)
|
static void rarch_task_http_transfer_handler(retro_task_t *task)
|
||||||
{
|
{
|
||||||
|
http_transfer_data_t *data = NULL;
|
||||||
http_handle_t *http = (http_handle_t*)task->state;
|
http_handle_t *http = (http_handle_t*)task->state;
|
||||||
http_transfer_data_t *data;
|
|
||||||
|
|
||||||
if (task->cancelled)
|
if (task->cancelled)
|
||||||
goto task_finished;
|
goto task_finished;
|
||||||
@ -196,7 +196,7 @@ task_finished:
|
|||||||
|
|
||||||
static bool rarch_task_http_finder(retro_task_t *task, void *user_data)
|
static bool rarch_task_http_finder(retro_task_t *task, void *user_data)
|
||||||
{
|
{
|
||||||
http_handle_t *http;
|
http_handle_t *http = NULL;
|
||||||
|
|
||||||
if (!task || (task->handler != rarch_task_http_transfer_handler))
|
if (!task || (task->handler != rarch_task_http_transfer_handler))
|
||||||
return false;
|
return false;
|
||||||
|
@ -44,8 +44,8 @@ enum image_status_enum
|
|||||||
|
|
||||||
static int cb_image_menu_upload_generic(void *data, size_t len)
|
static int cb_image_menu_upload_generic(void *data, size_t len)
|
||||||
{
|
{
|
||||||
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
|
||||||
unsigned r_shift, g_shift, b_shift, a_shift;
|
unsigned r_shift, g_shift, b_shift, a_shift;
|
||||||
|
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
||||||
|
|
||||||
if (!nbio)
|
if (!nbio)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user