Remove dead code

This commit is contained in:
twinaphex 2015-11-24 18:11:01 +01:00
parent 9a31db3783
commit 49b9ccd467
4 changed files with 1 additions and 57 deletions

View File

@ -1414,9 +1414,6 @@ static int generic_action_ok_network(const char *path,
break;
}
// rarch_main_data_msg_queue_push(DATA_TYPE_HTTP, url_path, url_label, 0, 1,
// true);
rarch_task_push_http_transfer(url_path, url_label, callback, NULL);
return generic_action_ok_displaylist_push(path,

View File

@ -251,6 +251,7 @@ void *menu_init(const void *data)
menu->help_screen_type = MENU_HELP_WELCOME;
settings->menu_show_start_screen = false;
/* TODO/FIXME - Update to newer tasks */
#if 0
if (settings->bundle_assets_extract_enable &&
(strcmp(PACKAGE_VERSION, settings->bundle_assets_last_extracted_version) != 0)

View File

@ -73,46 +73,6 @@ void rarch_main_data_clear_state(void)
rarch_main_data_init();
}
void rarch_main_data_msg_queue_push(unsigned type,
const char *msg, const char *msg2,
unsigned prio, unsigned duration, bool flush)
{
char new_msg[PATH_MAX_LENGTH];
msg_queue_t *queue = NULL;
settings_t *settings = config_get_ptr();
(void)settings;
switch(type)
{
case DATA_TYPE_NONE:
break;
case DATA_TYPE_FILE:
break;
case DATA_TYPE_IMAGE:
break;
#ifdef HAVE_NETWORKING
case DATA_TYPE_HTTP:
break;
#endif
#ifdef HAVE_OVERLAY
case DATA_TYPE_OVERLAY:
break;
#endif
case DATA_TYPE_DB:
default:
break;
}
if (!queue)
return;
if (flush)
msg_queue_clear(queue);
msg_queue_push(queue, new_msg, prio, duration);
}
void data_runloop_osd_msg(const char *msg, size_t len)
{
strlcpy(data_runloop_msg, msg, len);

View File

@ -24,20 +24,6 @@ extern "C" {
typedef int (*transfer_cb_t)(void *data, size_t len);
enum runloop_data_type
{
DATA_TYPE_NONE = 0,
DATA_TYPE_FILE,
DATA_TYPE_IMAGE,
DATA_TYPE_HTTP,
DATA_TYPE_OVERLAY,
DATA_TYPE_DB
};
void rarch_main_data_msg_queue_push(unsigned type,
const char *msg, const char *msg2,
unsigned prio, unsigned duration, bool flush);
void rarch_main_data_clear_state(void);
void rarch_main_data_iterate(void);