mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Cleanup some unused variables
This commit is contained in:
parent
503131de66
commit
a175af4e6a
@ -3051,7 +3051,7 @@ static bool config_load_file(global_t *global,
|
||||
snprintf(buf, sizeof(buf), "led%u_map", i + 1);
|
||||
|
||||
/* TODO/FIXME - change of sign - led_map is unsigned */
|
||||
settings->uints.led_map[i] =- 1;
|
||||
settings->uints.led_map[i] = -1;
|
||||
|
||||
CONFIG_GET_INT_BASE(conf, settings, uints.led_map[i], buf);
|
||||
}
|
||||
|
@ -191,7 +191,6 @@ static bool png_process_ihdr(struct png_ihdr *ihdr)
|
||||
#else
|
||||
static bool png_process_ihdr(struct png_ihdr *ihdr)
|
||||
{
|
||||
unsigned i;
|
||||
uint8_t ihdr_depth = ihdr->depth;
|
||||
|
||||
switch (ihdr->color_type)
|
||||
@ -1199,8 +1198,6 @@ void rpng_free(rpng_t *rpng)
|
||||
|
||||
bool rpng_start(rpng_t *rpng)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
if (!rpng)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user