Silence some warnings

This commit is contained in:
twinaphex 2022-01-19 19:08:22 +01:00
parent bacae58ea5
commit cc756e4126
2 changed files with 2 additions and 2 deletions

View File

@ -5586,8 +5586,8 @@ void input_keyboard_event(bool down, unsigned code,
*key_event = &runloop_st->key_event;
input_driver_state_t
*input_st = &input_driver_st;
access_state_t *access_st = access_state_get_ptr();
#ifdef HAVE_ACCESSIBILITY
access_state_t *access_st = access_state_get_ptr();
settings_t *settings = config_get_ptr();
bool accessibility_enable = settings->bools.accessibility_enable;
unsigned accessibility_narrator_speech_speed = settings->uints.accessibility_narrator_speech_speed;

View File

@ -7532,7 +7532,7 @@ static int action_ok_playlist_refresh(const char *path,
if (string_is_empty(msg_subject))
msg_subject = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE);
snprintf(msg, sizeof(msg), "%s%s", msg_prefix, msg_subject);
fill_pathname_join(msg, msg_prefix, msg_subject, sizeof(msg));
RARCH_ERR(log_text, msg_subject);
runloop_msg_queue_push(msg, 1, 150, true,