(OSX) Cleanups

This commit is contained in:
Twinaphex 2015-01-19 21:11:08 +01:00
parent b0548e1329
commit 77a7b39e88
4 changed files with 1 additions and 6 deletions

View File

@ -80,8 +80,6 @@ bool cheat_manager_save(cheat_manager_t *handle, const char *path)
for (i = 0; i < handle->size; i++)
{
char key[64], desc_key[256], code_key[256], enable_key[256];
char *tmp = NULL;
bool tmp_bool = false;
snprintf(key, sizeof(key), "cheat%u", i);
snprintf(desc_key, sizeof(desc_key), "cheat%u_desc", i);

View File

@ -312,7 +312,7 @@ static bool video_shader_parse_textures(config_file_t *conf,
*
* Returns: handle to shader parameter if successful, otherwise NULL.
**/
static struct video_shader_parameter *video_shader_parse_find_parameter(
static struct gfx_shader_parameter *video_shader_parse_find_parameter(
struct gfx_shader_parameter *params, unsigned num_params, const char *id)
{
unsigned i;

View File

@ -88,7 +88,6 @@ void input_remapping_save_file(const char *path)
for (i = 0; i < g_settings.input.max_users; i++)
{
char buf[64];
char key_ident[RARCH_FIRST_META_KEY][128];
char key_strings[RARCH_FIRST_META_KEY][128] = { "b", "y", "select", "start",
"up", "down", "left", "right", "a", "x", "l", "r", "l2", "r2", "l3", "r3"};

View File

@ -322,8 +322,6 @@ static int action_ok_remap_file(const char *path,
static int action_ok_remap_file_load(const char *path,
const char *label, unsigned type, size_t idx)
{
unsigned i, j;
config_file_t *conf = NULL;
const char *menu_path = NULL;
char remap_path[PATH_MAX_LENGTH];
if (!driver.menu)