Get rid of is_thread variable for this function

This commit is contained in:
twinaphex 2015-11-23 09:46:53 +01:00
parent dd0a191548
commit 82f64cbf43
3 changed files with 3 additions and 5 deletions

View File

@ -234,7 +234,7 @@ void rarch_main_data_iterate(void)
#ifdef HAVE_RPNG
#ifdef HAVE_MENU
rarch_main_data_nbio_image_upload_iterate(false);
rarch_main_data_nbio_image_upload_iterate();
#endif
#endif
#ifdef HAVE_OVERLAY

View File

@ -353,7 +353,7 @@ void rarch_main_data_nbio_image_iterate(bool is_thread)
}
}
void rarch_main_data_nbio_image_upload_iterate(bool is_thread)
void rarch_main_data_nbio_image_upload_iterate(void)
{
nbio_handle_t *nbio = (nbio_handle_t*)nbio_ptr;
nbio_image_handle_t *image = nbio ? &nbio->image : NULL;
@ -361,8 +361,6 @@ void rarch_main_data_nbio_image_upload_iterate(bool is_thread)
if (!image || !nbio)
return;
(void)is_thread;
switch (image->status)
{
case NBIO_IMAGE_STATUS_PROCESS_TRANSFER_PARSE:

View File

@ -69,7 +69,7 @@ void rarch_main_data_http_init(void);
#ifdef HAVE_RPNG
void rarch_main_data_nbio_image_iterate(bool is_thread);
void rarch_main_data_nbio_image_upload_iterate(bool is_thread);
void rarch_main_data_nbio_image_upload_iterate(void);
#endif
#ifdef HAVE_LIBRETRODB