Remove unused variables

This commit is contained in:
twinaphex 2016-06-11 20:03:11 +02:00
parent 7d0cb7c689
commit 5b76402e6b
3 changed files with 0 additions and 7 deletions

View File

@ -318,8 +318,6 @@ void fill_pathname_application_special(char *s, size_t len, enum application_spe
#ifdef HAVE_MATERIALUI
{
char s1[PATH_MAX_LENGTH] = {0};
settings_t *settings = config_get_ptr();
fill_pathname_application_special(s1,
sizeof(s1), APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI);
fill_pathname_slash(s1, sizeof(s1));
@ -341,7 +339,6 @@ void fill_pathname_application_special(char *s, size_t len, enum application_spe
#ifdef HAVE_XMB
{
char s1[PATH_MAX_LENGTH] = {0};
settings_t *settings = config_get_ptr();
fill_pathname_application_special(s1, sizeof(s1),
APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB);

View File

@ -1006,7 +1006,6 @@ static void mui_font(void)
{
menu_display_ctx_font_t font_info;
char fontpath[PATH_MAX_LENGTH] = {0};
settings_t *settings = config_get_ptr();
int font_size = menu_display_get_font_size();
fill_pathname_application_special(fontpath, sizeof(fontpath),

View File

@ -1407,8 +1407,6 @@ static void xmb_context_reset_horizontal_list(
static void xmb_refresh_horizontal_list(xmb_handle_t *xmb)
{
settings_t *settings = config_get_ptr();
xmb_context_destroy_horizontal_list(xmb);
if (xmb->horizontal_list)
file_list_free(xmb->horizontal_list);
@ -2785,7 +2783,6 @@ static void xmb_context_reset_background(const char *iconpath)
static void xmb_context_reset(void *data)
{
char iconpath[PATH_MAX_LENGTH] = {0};
settings_t *settings = config_get_ptr();
xmb_handle_t *xmb = (xmb_handle_t*)data;
if (!xmb)
return;