Remove unused variables

This commit is contained in:
Twinaphex 2016-08-27 02:23:44 +02:00
parent 01dc5507fe
commit efc245b85a
2 changed files with 0 additions and 4 deletions

View File

@ -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)
{
global_t *global = global_get_ptr();
struct config_float_setting tmp[] = {
{ "video_aspect_ratio", settings->video.aspect_ratio},
{ "video_scale", settings->video.scale},
@ -3397,7 +3396,6 @@ bool config_save_overrides(int override_type)
{
unsigned i = 0;
bool ret = false;
char buf[PATH_MAX_LENGTH] = {0};
char config_directory[PATH_MAX_LENGTH] = {0};
char override_directory[PATH_MAX_LENGTH] = {0};
char core_path[PATH_MAX_LENGTH] = {0};

View File

@ -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'. */
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_org = sb;