Remove unused variables
This commit is contained in:
parent
01dc5507fe
commit
efc245b85a
|
@ -3010,7 +3010,6 @@ int populate_settings_int(settings_t *settings, struct config_int_setting *out)
|
||||||
|
|
||||||
int populate_settings_float(settings_t *settings, struct config_float_setting *out)
|
int populate_settings_float(settings_t *settings, struct config_float_setting *out)
|
||||||
{
|
{
|
||||||
global_t *global = global_get_ptr();
|
|
||||||
struct config_float_setting tmp[] = {
|
struct config_float_setting tmp[] = {
|
||||||
{ "video_aspect_ratio", settings->video.aspect_ratio},
|
{ "video_aspect_ratio", settings->video.aspect_ratio},
|
||||||
{ "video_scale", settings->video.scale},
|
{ "video_scale", settings->video.scale},
|
||||||
|
@ -3397,7 +3396,6 @@ bool config_save_overrides(int override_type)
|
||||||
{
|
{
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
char buf[PATH_MAX_LENGTH] = {0};
|
|
||||||
char config_directory[PATH_MAX_LENGTH] = {0};
|
char config_directory[PATH_MAX_LENGTH] = {0};
|
||||||
char override_directory[PATH_MAX_LENGTH] = {0};
|
char override_directory[PATH_MAX_LENGTH] = {0};
|
||||||
char core_path[PATH_MAX_LENGTH] = {0};
|
char core_path[PATH_MAX_LENGTH] = {0};
|
||||||
|
|
|
@ -148,8 +148,6 @@ bool utf16_conv_utf8(uint8_t *out, size_t *out_chars,
|
||||||
* Use only if 'chars' is considerably less than 'd_len'. */
|
* Use only if 'chars' is considerably less than 'd_len'. */
|
||||||
size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars)
|
size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars)
|
||||||
{
|
{
|
||||||
char *d_org = d;
|
|
||||||
char *d_end = d+d_len;
|
|
||||||
const uint8_t *sb = (const uint8_t*)s;
|
const uint8_t *sb = (const uint8_t*)s;
|
||||||
const uint8_t *sb_org = sb;
|
const uint8_t *sb_org = sb;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue