(Database) Remove some unused variables

This commit is contained in:
Twinaphex 2015-05-25 10:04:54 +02:00
parent 0242b38c12
commit 1a85dfe60a
3 changed files with 3 additions and 5 deletions

View File

@ -280,8 +280,6 @@ database_info_list_t *database_info_list_new(const char *rdb_path, const char *q
int ret = 0;
libretrodb_t db;
libretrodb_cursor_t cur;
struct rmsgpack_dom_value item;
size_t j;
unsigned k = 0;
database_info_t *database_info = NULL;
database_info_list_t *database_info_list = NULL;

View File

@ -1157,7 +1157,7 @@ static int menu_database_parse_query(file_list_t *list, const char *path,
const char *query)
{
#ifdef HAVE_LIBRETRODB
int ret = 0, i;
int i;
database_info_list_t *db_list = database_info_list_new(path, query);
if (!db_list)

View File

@ -29,6 +29,8 @@ static int zlib_compare_crc32(const char *name, const char *valid_exts,
uint32_t crc32, void *userdata)
{
database_state_handle_t *db_state = (database_state_handle_t*)userdata;
(void)db_state;
RARCH_LOG("CRC32: 0x%x\n", crc32);
@ -146,8 +148,6 @@ static int database_info_iterate_crc_lookup(
{
char entry_state_crc[PATH_MAX_LENGTH];
/* Check if the CRC matches with the current entry. */
unsigned int entry_crc = (unsigned int)atol(db_info_entry->crc32);
snprintf(entry_state_crc, sizeof(entry_state_crc), "%x", db_state->crc);
#if 0