remove unused variables

This commit is contained in:
Twinaphex 2016-09-19 04:23:53 +02:00
parent c133b03a63
commit 1205b12e15
2 changed files with 0 additions and 5 deletions

View File

@ -393,8 +393,6 @@ void path_init_savefile(void)
static void path_init_savefile_internal(void)
{
global_t *global = global_get_ptr();
path_deinit_savefile();
path_init_savefile_new();

View File

@ -425,7 +425,6 @@ bool content_undo_load_state(void)
void* temp_data = NULL;
unsigned num_blocks = 0;
struct sram_block *blocks = NULL;
settings_t *settings = config_get_ptr();
RARCH_LOG("%s: \"%s\".\n",
msg_hash_to_str(MSG_LOADING_STATE),
@ -605,13 +604,11 @@ bool content_save_state(const char *path, bool save_to_disk)
**/
bool content_load_state(const char *path, bool load_to_backup_buffer)
{
unsigned i;
ssize_t size;
retro_ctx_serialize_info_t serial_info;
unsigned num_blocks = 0;
void *buf = NULL;
struct sram_block *blocks = NULL;
settings_t *settings = config_get_ptr();
bool ret = filestream_read_file(path, &buf, &size);
RARCH_LOG("%s: \"%s\".\n",