diff --git a/menu/menu_entries_cbs_deferred_push.c b/menu/menu_entries_cbs_deferred_push.c index 4e04345a5c..89b701424e 100644 --- a/menu/menu_entries_cbs_deferred_push.c +++ b/menu/menu_entries_cbs_deferred_push.c @@ -272,12 +272,8 @@ static int deferred_push_core_information(void *data, void *userdata, static int deferred_push_system_information(void *data, void *userdata, const char *path, const char *label, unsigned type) { - unsigned i; file_list_t *list = (file_list_t*)data; file_list_t *menu_list = (file_list_t*)userdata; - settings_t *settings = config_get_ptr(); - driver_t *driver = driver_get_ptr(); - global_t *global = global_get_ptr(); if (!list || !menu_list) return -1; diff --git a/menu/menu_entries_cbs_iterate.c b/menu/menu_entries_cbs_iterate.c index 9cdcc3844d..2bce56e227 100644 --- a/menu/menu_entries_cbs_iterate.c +++ b/menu/menu_entries_cbs_iterate.c @@ -504,7 +504,6 @@ static int action_iterate_main(const char *label, unsigned action) menu_file_list_cbs_t *cbs = NULL; menu_handle_t *menu = menu_driver_get_ptr(); global_t *global = global_get_ptr(); - settings_t *settings = config_get_ptr(); if (!menu) return 0; diff --git a/retroarch.c b/retroarch.c index 1c74d6ce4f..e9893a3f75 100644 --- a/retroarch.c +++ b/retroarch.c @@ -172,7 +172,7 @@ static void print_help(void) puts(RETRO_FRONTEND ": Frontend for libretro -- v" PACKAGE_VERSION " --"); #endif rarch_print_compiler(str, sizeof(str)); - fprintf(stdout, str); + fprintf(stdout, "%s", str); fprintf(stdout, "Built: %s\n", __DATE__); puts("==================================================================="); puts("Usage: retroarch [content file] [options...]"); @@ -1103,7 +1103,7 @@ int rarch_main_init(int argc, char *argv[]) RARCH_LOG_OUTPUT("=== Build ======================================="); rarch_print_compiler(str, sizeof(str)); - fprintf(stderr, str); + fprintf(stderr, "%s", str); fprintf(stderr, "Built: %s\n", __DATE__); RARCH_LOG_OUTPUT("Version: %s\n", PACKAGE_VERSION); #ifdef HAVE_GIT_VERSION